Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit c32126e

Browse files
committed
a
1 parent a5d13ae commit c32126e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/sfnttools/woff2/glyf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import math
22

3-
from sfnttools.configs import SfntConfigs
43
from sfnttools.error import SfntError
54
from sfnttools.flags import SfntFlags
65
from sfnttools.tables.glyf.component import ComponentGlyph
@@ -85,9 +84,7 @@ def parse(data: bytes) -> 'TransformedGlyfTable':
8584
)
8685

8786
@staticmethod
88-
def transform(configs: SfntConfigs, glyf_table: GlyfTable) -> 'TransformedGlyfTable':
89-
index_format = glyf_table.calculate_loca_table(configs).calculate_index_to_loc_format()
90-
87+
def transform(glyf_table: GlyfTable, index_format: IndexToLocFormat) -> 'TransformedGlyfTable':
9188
n_contour_stream = Stream()
9289
n_points_stream = Stream()
9390
flag_stream = Stream()

0 commit comments

Comments
 (0)