Showing 1 of 1 files from the diff.
@@ -26,12 +26,8 @@
Loading
26 | 26 | from fontTools.ttLib import TTFont, TTLibError |
|
27 | 27 | from fontTools.ttLib.tables._g_l_y_f import GlyphCoordinates |
|
28 | 28 | from fontTools.varLib.models import supportScalar, normalizeLocation |
|
29 | - | ||
30 | - | try: |
|
31 | - | # TODO: remove? |
|
32 | - | from fontTools.varLib.iup import iup_delta |
|
33 | - | except: |
|
34 | - | from fontTools.varLib.mutator import iup_delta |
|
29 | + | from fontTools.varLib.instancer import instantiateVariableFont |
|
30 | + | from fontTools.varLib.iup import iup_delta |
|
35 | 31 | ||
36 | 32 | from pagebot.constants import * |
|
37 | 33 | from pagebot.contributions.adobe.kerndump.getKerningPairsFromOTF import OTFKernReader |
@@ -308,9 +304,9 @@
Loading
308 | 304 | {'opsz': 8} |
|
309 | 305 | >>> instance['H'].width |
|
310 | 306 | 1740 |
|
311 | - | >>> instance = getInstance2(vf, location=dict(wght=300), cached=False, opticalSize=150) |
|
312 | 307 | """ |
|
313 | 308 | """ |
|
309 | + | >>> instance = getInstance2(vf, location=dict(wght=300), cached=False, opticalSize=150) |
|
314 | 310 | >>> instance.location |
|
315 | 311 | {'wght': 300, 'opsz': 150} |
|
316 | 312 | >>> instance['H'].width |
Files | Coverage |
---|---|
Lib/pagebot | 66.54% |
Project Totals (252 files) | 66.54% |
2438.1
TRAVIS_PYTHON_VERSION=3.8 TRAVIS_OS_NAME=linux
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.