/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 220 for axisTag, axisRange in sorted(axisRanges.items()): 223 newVariations.extend(limitTupleVariationAxisRange(var, axisTag, axisRange)) 232 def limitTupleVariationAxisRange(var, axisTag, axisRange): argument 238 lower, peak, upper = var.axes.get(axisTag, (-1, 0, 1)) 268 var.axes[axisTag] = (-1.0, -1.0, -1.0) if negative else (1.0, 1.0, 1.0) 279 scalar = supportScalar({axisTag: limit}, {axisTag: (lower, peak, upper)}) 285 var.axes[axisTag] = (newLower, newPeak, newUpper) 297 var.axes[axisTag] = (newLower, newPeak, newUpper) 310 var.axes[axisTag] = (-2.0, -1 * newPeak, -1 * newLower) 311 newVar.axes[axisTag] = (-1.0, -1.0, -1 * newPeak) [all …]
|
D | names.py | 114 fvarDefaults = {a.axisTag: a.defaultValue for a in fvar.axes} 116 for axisTag, val in fvarDefaults.items(): 117 if axisTag not in defaultAxisCoords or isinstance( 118 defaultAxisCoords[axisTag], AxisRange 120 defaultAxisCoords[axisTag] = val 139 axisTag = designAxes[axisValueTable.AxisIndex].AxisTag 144 if axisTag in axisCoords and axisValue == axisCoords[axisTag]: 145 seen.add(axisTag) 148 axisTag = designAxes[rec.AxisIndex].AxisTag 149 if axisTag in axisCoords and rec.Value == axisCoords[axisTag]: [all …]
|
/external/fonttools/Lib/fontTools/varLib/ |
D | featureVars.py | 182 for axisTag in set(top) & set(bot): 183 min1, max1 = top[axisTag] 184 min2, max2 = bot[axisTag] 189 intersection[axisTag] = minimum,maximum 205 for axisTag in bot: 206 if axisTag not in intersection: 209 min1, max1 = intersection[axisTag] 210 min2, max2 = bot[axisTag] 238 remainder[axisTag] = minimum,maximum 319 axisIndices = {axis.axisTag: axisIndex for axisIndex, axis in enumerate(font["fvar"].axes)} [all …]
|
D | mutator.py | 174 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__.py | 76 axis.axisTag = Tag(a.tag) 212 axes = [dict(tag=a.axisTag, name=a.axisNameID) for a in fvarTable.axes] 910 axisTags = [axis.axisTag for axis in fvar.axes] 948 vf, location={axis.axisTag: axis.defaultValue for axis in vf["fvar"].axes}
|
/external/fonttools/Tests/varLib/instancer/ |
D | instancer_test.py | 38 wght.axisTag = Tag("wght") 43 wdth.axisTag = Tag("wdth") 353 fvarAxes = [a for a in varfont["fvar"].axes if a.axisTag not in location] 358 for axisTag, support in region.items(): 359 assert support == pytest.approx(expectedRegion[axisTag]) 389 axis.axisTag = "TEST" 412 fvarAxes = [SimpleNamespace(axisTag=axisTag) for axisTag in axisOrder] 558 axisOrder = [axis.axisTag for axis in fvarAxes] 635 for axisTag, axisValues in axes: 637 axis.name = axis.tag = axis.labelNames["en"] = axisTag [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _f_v_a_r.py | 70 axisTags = [axis.axisTag for axis in self.axes] 89 axisTags = [axis.axisTag for axis in self.axes] 114 self.axisTag = None 135 for tag, value in [("AxisTag", self.axisTag), 153 self.axisTag = Tag(value) 210 writer.simpletag("coord", axis=axis.axisTag, 211 value=fl2str(self.coordinates[axis.axisTag], 16))
|
D | _c_v_a_r.py | 35 axisTags=[axis.axisTag for axis in ttFont["fvar"].axes], 51 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes] 77 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
|
D | _a_v_a_r.py | 39 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes] 57 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes] 75 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
|
D | _g_v_a_r.py | 50 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes] 92 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes] 166 axisTags = [axis.axisTag for axis in ttFont["fvar"].axes]
|
/external/fonttools/Tests/ttLib/tables/ |
D | _c_v_a_r_test.py | 63 for axisTag, support1 in v1.axes.items(): 64 support2 = v2.axes[axisTag] 76 fvar.axes[0].axisTag, fvar.axes[1].axisTag = "wght", "wdth"
|
D | _f_v_a_r_test.py | 54 axis.axisTag = tag 76 self.assertEqual(["wght", "wdth"], [a.axisTag for a in fvar.axes]) 104 self.assertEqual(["opsz", "slnt"], [a.axisTag for a in fvar.axes]) 112 axis.axisTag, axis.axisNameID = ('opsz', 345) 119 self.assertEqual("opsz", axis.axisTag) 159 self.assertEqual("wght", axis.axisTag)
|
D | _g_v_a_r_test.py | 141 for axisTag, support1 in v1.axes.items(): 142 support2 = v2.axes[axisTag] 158 fvar.axes[0].axisTag, fvar.axes[1].axisTag = "wght", "wdth"
|
D | _a_v_a_r_test.py | 20 for axisTag, mapping1 in segments1.items(): 21 mapping2 = segments2[axisTag] 83 axis.axisTag = tag
|
/external/harfbuzz_ng/src/ |
D | hb-ot-var-fvar-table.hh | 85 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/ |
D | fontscalerdistortable.cpp | 57 SkFourByteTag axisTag; in onOnceBeforeDraw() member 75 {info.axisTag, styleValue}, in onOnceBeforeDraw() 76 {info.axisTag, styleValue} in onOnceBeforeDraw()
|
/external/skqp/src/ports/ |
D | SkFontMgr_android_parser.cpp | 156 SkFourByteTag axisTag = SkSetFourByteTag('\0','\0','\0','\0'); in __anonc5713b1c0102() local 167 axisTag = SkSetFourByteTag(value[0], value[1], value[2], value[3]); in __anonc5713b1c0102() 170 if (file.fVariationDesignPosition[j].axis == axisTag) { in __anonc5713b1c0102() 173 (axisTag >> 24) & 0xFF, in __anonc5713b1c0102() 174 (axisTag >> 16) & 0xFF, in __anonc5713b1c0102() 175 (axisTag >> 8) & 0xFF, in __anonc5713b1c0102() 176 (axisTag ) & 0xFF); in __anonc5713b1c0102() 192 coordinate.axis = axisTag; in __anonc5713b1c0102()
|
D | SkTypeface_win_dw.cpp | 225 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()
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 158 SkFourByteTag axisTag = SkSetFourByteTag('\0','\0','\0','\0'); in __anon22f31de50102() local 169 axisTag = SkSetFourByteTag(value[0], value[1], value[2], value[3]); in __anon22f31de50102() 172 if (file.fVariationDesignPosition[j].axis == axisTag) { in __anon22f31de50102() 175 (axisTag >> 24) & 0xFF, in __anon22f31de50102() 176 (axisTag >> 16) & 0xFF, in __anon22f31de50102() 177 (axisTag >> 8) & 0xFF, in __anon22f31de50102() 178 (axisTag ) & 0xFF); in __anon22f31de50102() 194 coordinate.axis = axisTag; in __anon22f31de50102()
|
D | SkTypeface_win_dw.cpp | 192 coordinates[coordIndex].axis = SkEndian_SwapBE32(fontAxisValue[axisIndex].axisTag); in onGetVariationDesignPosition() 245 parameters[coordIndex].tag = SkEndian_SwapBE32(fontAxisDefaultValue[axisIndex].axisTag); in onGetVariationDesignParameters() 334 if (SkEndian_SwapBE32(fontAxisValue[fontIndex].axisTag) == in onMakeClone()
|
D | SkFontMgr_win_dw.cpp | 940 if (SkEndian_SwapBE32(fontCoordinate.axisTag) == argsCoordinate.axis) { in apply_fontargument_variation() 1062 coordinate.axisTag = axisRange.axisTag; in apply_fontdata_variation()
|
/external/skqp/src/sfnt/ |
D | SkOTTable_fvar.h | 33 SK_OT_ULONG axisTag; member
|
/external/skia/src/sfnt/ |
D | SkOTTable_fvar.h | 33 SK_OT_ULONG axisTag; member
|
/external/fonttools/Lib/fontTools/ |
D | fontBuilder.py | 627 axisTags = [a.axisTag for a in self.font["fvar"].axes] 906 axis.axisTag, 913 (axis.axisTag, axis.minValue, axis.defaultValue, axis.maxValue, name) = (
|
/external/fonttools/Snippets/ |
D | interpolate.py | 36 weight.axisTag = "wght"
|