Home
last modified time | relevance | path

Searched refs:TupleVariation (Results 1 – 13 of 13) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
DTupleVariation_test.py5 from fontTools.ttLib.tables.TupleVariation import \
6 log, TupleVariation, compileSharedTuples, decompileSharedTuples, \
78 var1 = TupleVariation({"wght":(0.0, 1.0, 1.0)}, [(0,0), (9,8), (7,6)])
79 var2 = TupleVariation({"wght":(0.0, 1.0, 1.0)}, [(0,0), (9,8), (7,6)])
83 var1 = TupleVariation({"wght":(0.0, 1.0, 1.0)}, [(0,0), (9,8), (7,6)])
84 var2 = TupleVariation({"wght":(0.7, 0.8, 0.9)}, [(0,0), (9,8), (7,6)])
88 var1 = TupleVariation({"wght":(0.0, 1.0, 1.0)}, [(0,0), (9,8), (7,6)])
89 var2 = TupleVariation({"wght":(0.0, 1.0, 1.0)}, [(0,0), (9,8)])
94 var = TupleVariation(axes, [(0,0), (9,8), (7,6)])
99 var = TupleVariation(axes, [(0,0), (0,0), (0,0)])
[all …]
D_g_v_a_r_test.py5 from fontTools.ttLib.tables.TupleVariation import TupleVariation
65 TupleVariation(
70 TupleVariation(
73 TupleVariation(
D_c_v_a_r_test.py4 from fontTools.ttLib.tables.TupleVariation import TupleVariation
52 TupleVariation({"wght": (0.0, 1.0, 1.0)}, [None, None, 3, 1, 4]),
53 TupleVariation({"wght": (-1, -1.0, 0.0), "wdth": (0.0, 0.7999878, 0.7999878)},
/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py8 from fontTools.ttLib.tables.TupleVariation import TupleVariation
482 TupleVariation({"wght": (-1.0, -1.0, 0)}, [10, 70]),
483 TupleVariation({"wght": (0.0, 1.0, 1.0)}, [30, 90]),
484 TupleVariation(
487 TupleVariation(
492 TupleVariation({"wdth": (-1.0, -1.0, 0)}, [5, 45]),
493 TupleVariation(
496 TupleVariation(
510 [TupleVariation({"wdth": (-1.0, -1.0, 0)}, [-30, -60])],
511 [TupleVariation({"wdth": (-1.0, -1.0, 0)}, [-12, 8])],
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py37 class TupleVariation(object): class
337 pos = TupleVariation.encodeDeltaRunAsZeroes_(deltas, pos, stream)
339 pos = TupleVariation.encodeDeltaRunAsBytes_(deltas, pos, stream)
341 pos = TupleVariation.encodeDeltaRunAsWords_(deltas, pos, stream)
522 varOpt = TupleVariation(self.axes, deltaOpt)
535 if not isinstance(other, TupleVariation):
575 t, offset = TupleVariation.decompileCoord_(axisTags, data, offset)
670 sharedPoints, dataPos = TupleVariation.decompilePoints_(
676 tupleSize = TupleVariation.getTupleSize_(flags, numAxes)
695 peak, pos = TupleVariation.decompileCoord_(axisTags, data, pos)
[all …]
D_c_v_a_r.py4 from fontTools.ttLib.tables.TupleVariation import \
5 compileTupleVariationStore, decompileTupleVariationStore, TupleVariation
69 var = TupleVariation({}, [None] * valueCount)
D_g_v_a_r.py10 import fontTools.ttLib.tables.TupleVariation as tv
14 TupleVariation = tv.TupleVariation variable
194 gvar = TupleVariation({}, [None] * numPointsInGlyph)
/external/fonttools/Snippets/
Dinterpolate.py27 from fontTools.ttLib.tables._g_v_a_r import table__g_v_a_r, TupleVariation
90 thinVar = TupleVariation({"wght": (-1.0, -1.0, 0.0)}, thinDelta)
91 blackVar = TupleVariation({"wght": (0.0, 1.0, 1.0)}, blackDelta)
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py9 from fontTools.ttLib.tables.TupleVariation import TupleVariation
209 TupleVariation(dict(RGHT=(0, 1, 1)), rightDeltas),
210 TupleVariation(dict(LEFT=(0, 1, 1)), leftDeltas),
211 TupleVariation(dict(UPPP=(0, 1, 1)), upDeltas),
212 TupleVariation(dict(DOWN=(0, 1, 1)), downDeltas),
/external/fonttools/Lib/fontTools/varLib/
D__init__.py28 from fontTools.ttLib.tables.TupleVariation import TupleVariation
268 var = TupleVariation(support, delta)
284 var_opt = TupleVariation(support, delta_opt)
371 var = TupleVariation(support, delta)
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py77 from fontTools.ttLib.tables.TupleVariation import TupleVariation
308 newVar = TupleVariation(var.axes, var.coordinates)
515 variations.append(TupleVariation(axes, list(coordinates)))
/external/fonttools/Doc/source/ttLib/
Dtables.rst833 TupleVariation chapter
836 .. automodule:: fontTools.ttLib.tables.TupleVariation
/external/fonttools/
DNEWS.rst687 - [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
1235 - [TupleVariation] Reactivated shared points logic, bugfixes (#1009).
1461 - [ttLib] In TupleVariation, round deltas before compiling (#861, fixed #592)
1546 - [gvar] Renamed GlyphVariation to TupleVariation to match OpenType