[Docs] Import TupeVariation class directly in gvar table module. Fixes a Sphinx autodoc confusion.
This commit is contained in:
parent
314eee05c7
commit
23546cfaa9
@ -3,6 +3,7 @@ from functools import partial
|
|||||||
from fontTools.misc import sstruct
|
from fontTools.misc import sstruct
|
||||||
from fontTools.misc.textTools import safeEval
|
from fontTools.misc.textTools import safeEval
|
||||||
from fontTools.misc.lazyTools import LazyDict
|
from fontTools.misc.lazyTools import LazyDict
|
||||||
|
from fontTools.ttLib.tables.TupleVariation import TupleVariation
|
||||||
from . import DefaultTable
|
from . import DefaultTable
|
||||||
import array
|
import array
|
||||||
import itertools
|
import itertools
|
||||||
@ -11,10 +12,7 @@ import struct
|
|||||||
import sys
|
import sys
|
||||||
import fontTools.ttLib.tables.TupleVariation as tv
|
import fontTools.ttLib.tables.TupleVariation as tv
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
TupleVariation = tv.TupleVariation
|
|
||||||
|
|
||||||
|
|
||||||
# https://www.microsoft.com/typography/otspec/gvar.htm
|
# https://www.microsoft.com/typography/otspec/gvar.htm
|
||||||
# https://www.microsoft.com/typography/otspec/otvarcommonformats.htm
|
# https://www.microsoft.com/typography/otspec/otvarcommonformats.htm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user