Home
last modified time | relevance | path

Searched refs:axisTag (Results 1 – 25 of 30) sorted by relevance

12

/external/fonttools/Lib/fontTools/varLib/
Dinstancer.py287 if set(location).issuperset(axis.axisTag for axis in fvarAxes):
335 axisOrder = [axis.axisTag for axis in fvarAxes]
353 (axisTag, support)
354 for axisTag, support in region.items()
355 if axisTag not in axes
362 self.axisOrder = [axisTag for axisTag in self.axisOrder if axisTag not in axes]
541 axisTag = fvarAxes[axisIdx].axisTag
542 if axisTag in location:
545 v = location[axisTag]
554 condition.AxisIndex = axisIndexMap[axisTag]
[all …]
DfeatureVars.py178 for axisTag in set(top) & set(bot):
179 min1, max1 = top[axisTag]
180 min2, max2 = bot[axisTag]
185 intersection[axisTag] = minimum,maximum
201 for axisTag in bot:
202 if axisTag not in intersection:
205 min1, max1 = intersection[axisTag]
206 min2, max2 = bot[axisTag]
234 remainder[axisTag] = minimum,maximum
305 axisIndices = {axis.axisTag: axisIndex for axisIndex, axis in enumerate(font["fvar"].axes)}
[all …]
Dmutator.py174 axes = {a.axisTag:(a.minValue,a.defaultValue,a.maxValue) for a in fvar.axes}
269 axisTag = fvar.axes[axisIdx].axisTag
272 v = loc[axisTag]
341 args.append(str(floatToFixed(loc[a.axisTag], 14)))
D__init__.py75 axis.axisTag = Tag(a.tag)
195 axis.AxisTag = Tag(a.axisTag)
850 axisTags = [axis.axisTag for axis in fvar.axes]
882 vf, location={axis.axisTag: axis.defaultValue for axis in vf["fvar"].axes}
/external/fonttools/Lib/fontTools/ttLib/tables/
D_f_v_a_r.py66 axisTags = [axis.axisTag for axis in self.axes]
85 axisTags = [axis.axisTag for axis in self.axes]
110 self.axisTag = None
131 for tag, value in [("AxisTag", self.axisTag),
149 self.axisTag = Tag(value)
202 writer.simpletag("coord", axis=axis.axisTag,
203 value=self.coordinates[axis.axisTag])
D_c_v_a_r.py37 axisTags=[axis.axisTag for axis in ttFont["fvar"].axes],
53 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
79 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
D_a_v_a_r.py38 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
56 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
74 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
D_g_v_a_r.py53 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
95 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
169 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
/external/fonttools/Tests/varLib/
Dinstancer_test.py41 wght.axisTag = Tag("wght")
46 wdth.axisTag = Tag("wdth")
356 fvarAxes = [a for a in varfont["fvar"].axes if a.axisTag not in location]
390 fvarAxes = [SimpleNamespace(axisTag=axisTag) for axisTag in axisOrder]
529 axisOrder = [axis.axisTag for axis in fvarAxes]
606 for axisTag, axisValues in axes:
608 axis.name = axis.tag = axis.labelNames["en"] = axisTag
618 axisTags = [axis.axisTag for axis in fvar.axes]
958 assert {a.axisTag for a in fvar.axes}.isdisjoint(location)
1137 axisTag = axisOrder[cond.AxisIndex]
[all …]
/external/fonttools/Tests/ttLib/tables/
D_f_v_a_r_test.py55 axis.axisTag = tag
77 self.assertEqual(["wght", "wdth"], [a.axisTag for a in fvar.axes])
105 self.assertEqual(["opsz", "slnt"], [a.axisTag for a in fvar.axes])
113 axis.axisTag, axis.axisNameID = ('opsz', 345)
120 self.assertEqual("opsz", axis.axisTag)
160 self.assertEqual("wght", axis.axisTag)
D_c_v_a_r_test.py68 fvar.axes[0].axisTag, fvar.axes[1].axisTag = "wght", "wdth"
D_g_v_a_r_test.py146 fvar.axes[0].axisTag, fvar.axes[1].axisTag = "wght", "wdth"
D_a_v_a_r_test.py73 axis.axisTag = tag
/external/harfbuzz_ng/src/
Dhb-ot-var-fvar-table.hh85 Tag axisTag; /* Tag identifying the design variation for the axis. */ member
122 info->tag = axis.axisTag; in get_axis_deprecated()
136 info->tag = axis.axisTag; in get_axis_info()
200 if (axes[i].axisTag == tag) in find_axis_deprecated()
219 if (axes[i].axisTag == tag) in find_axis_info()
/external/skia/gm/
Dfontscalerdistortable.cpp57 SkFourByteTag axisTag; in onOnceBeforeDraw() member
75 {info.axisTag, styleValue}, in onOnceBeforeDraw()
76 {info.axisTag, styleValue} in onOnceBeforeDraw()
/external/skia/src/ports/
DSkFontMgr_android_parser.cpp156 SkFourByteTag axisTag = SkSetFourByteTag('\0','\0','\0','\0'); in __anond66e1b890102() local
167 axisTag = SkSetFourByteTag(value[0], value[1], value[2], value[3]); in __anond66e1b890102()
170 if (file.fVariationDesignPosition[j].axis == axisTag) { in __anond66e1b890102()
173 (axisTag >> 24) & 0xFF, in __anond66e1b890102()
174 (axisTag >> 16) & 0xFF, in __anond66e1b890102()
175 (axisTag >> 8) & 0xFF, in __anond66e1b890102()
176 (axisTag ) & 0xFF); in __anond66e1b890102()
192 coordinate.axis = axisTag; in __anond66e1b890102()
DSkTypeface_win_dw.cpp158 coordinates[coordIndex].axis = SkEndian_SwapBE32(fontAxisValue[axisIndex].axisTag); in onGetVariationDesignPosition()
211 parameters[coordIndex].tag = SkEndian_SwapBE32(fontAxisDefaultValue[axisIndex].axisTag); in onGetVariationDesignParameters()
299 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
DSkFontHost_mac.cpp2190 CFTypeRef axisTag = CFDictionaryGetValue(axisInfoDict, kCTFontVariationAxisIdentifierKey); in ct_variation_from_cg_variation() local
2191 if (!axisTag || CFGetTypeID(axisTag) != CFNumberGetTypeID()) { in ct_variation_from_cg_variation()
2195 CFDictionaryAddValue(ctVariation.get(), axisTag, axisValue); in ct_variation_from_cg_variation()
/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp156 SkFourByteTag axisTag = SkSetFourByteTag('\0','\0','\0','\0'); in __anon78ec38c00102() local
167 axisTag = SkSetFourByteTag(value[0], value[1], value[2], value[3]); in __anon78ec38c00102()
170 if (file.fVariationDesignPosition[j].axis == axisTag) { in __anon78ec38c00102()
173 (axisTag >> 24) & 0xFF, in __anon78ec38c00102()
174 (axisTag >> 16) & 0xFF, in __anon78ec38c00102()
175 (axisTag >> 8) & 0xFF, in __anon78ec38c00102()
176 (axisTag ) & 0xFF); in __anon78ec38c00102()
192 coordinate.axis = axisTag; in __anon78ec38c00102()
DSkTypeface_win_dw.cpp225 coordinates[coordIndex].axis = SkEndian_SwapBE32(fontAxisValue[axisIndex].axisTag); in onGetVariationDesignPosition()
276 parameters[coordIndex].tag = SkEndian_SwapBE32(fontAxisDefaultValue[axisIndex].axisTag); in onGetVariationDesignParameters()
343 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
DSkFontHost_mac.cpp2033 CFTypeRef axisTag = CFDictionaryGetValue(axisInfoDict, kCTFontVariationAxisIdentifierKey); in ct_variation_from_cg_variation() local
2034 if (!axisTag || CFGetTypeID(axisTag) != CFNumberGetTypeID()) { in ct_variation_from_cg_variation()
2038 CFDictionaryAddValue(ctVariations.get(), axisTag, axisValue); in ct_variation_from_cg_variation()
/external/skia/src/sfnt/
DSkOTTable_fvar.h33 SK_OT_ULONG axisTag; member
/external/skqp/src/sfnt/
DSkOTTable_fvar.h33 SK_OT_ULONG axisTag; member
/external/fonttools/Snippets/
Dinterpolate.py38 weight.axisTag = "wght"
/external/fonttools/Lib/fontTools/
DfontBuilder.py602 axisTags = [a.axisTag for a in self.font["fvar"].axes]
777 axis.axisTag = Tag(tag)

12