googlefonts / googlefonts/fontc

GS VF GPOS table build sizes: fontc vs. fontmake

Open
#593 1 comment 0 reactions 0 assignees View on GitHub
correctness
Dominant language
Rust
Stars
193
Forks
21
Avg merge
1d 20h
Merged PRs (30d)
60

Description

I took a look at our GS Python pipeline vs. Rust pipeline build sizes today and the current Roman GS VF is ~3.5MB larger with fontc than it is with fontmake. It looks like the OT table with the most significant increase is GPOS at ~4x the size.

fontmake[pathops]==3.7.1 (PyPI release)
fontc main branch commit as of ~17h ago

Both executed in GH Actions Ubuntu linux environments. cPy 3.12 interpreter on the fontmake build. rustc stable toolchain with cargo release profile on the fontc compiler compile.

| | fontmake | fontc |
| ------------- | ------------- |------------|
| Total | 4836292 B | 8544752 B |
| GPOS | 1035870 B | 4352928 B |

I shared repro builds, runner logs, and full OT table size comparisons with Colin privately.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.