Skip to content

Add CFF2 and TrueType Variation Font Support#342

Merged
JimBobSquarePants merged 73 commits into
mainfrom
bp/cff2
Mar 11, 2026
Merged

Add CFF2 and TrueType Variation Font Support#342
JimBobSquarePants merged 73 commits into
mainfrom
bp/cff2

Add VotoSerif cvar fonts, reference images and tests

59b5173
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Mar 11, 2026 in 0s

83% (-1%) compared to 1ac46b2

Details

Codecov Report

❌ Patch coverage is 80.13732% with 405 lines in your changes missing coverage. Please review.
✅ Project coverage is 83%. Comparing base (1ac46b2) to head (59b5173).

Files with missing lines Patch % Lines
...dTypographic/Variations/GlyphVariationProcessor.cs 76% 69 Missing and 19 partials ⚠️
...c/SixLabors.Fonts/Tables/General/Colr/ColrTable.cs 25% 51 Missing and 2 partials ⚠️
...s.Fonts/Tables/General/Colr/ColrGlyphSourceBase.cs 0% 42 Missing ⚠️
src/SixLabors.Fonts/Tables/Cff/CffParserBase.cs 76% 27 Missing and 10 partials ⚠️
src/SixLabors.Fonts/Tables/Cff/Cff2Parser.cs 71% 14 Missing and 11 partials ⚠️
src/SixLabors.Fonts/StreamFontMetrics.cs 85% 12 Missing and 7 partials ⚠️
...Tables/AdvancedTypographic/Variations/CVarTable.cs 79% 7 Missing and 5 partials ⚠️
...bles/AdvancedTypographic/FeatureVariationsTable.cs 90% 4 Missing and 5 partials ⚠️
...ancedTypographic/Variations/VariationRegionList.cs 71% 6 Missing and 3 partials ⚠️
.../SixLabors.Fonts/Tables/Cff/CffEvaluationEngine.cs 68% 6 Missing and 3 partials ⚠️
... and 32 more
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #342     +/-   ##
=======================================
- Coverage     83%     83%     -1%     
=======================================
  Files        274     302     +28     
  Lines      19169   20884   +1715     
  Branches    2714    3026    +312     
=======================================
+ Hits       16049   17462   +1413     
- Misses      2442    2658    +216     
- Partials     678     764     +86     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.