Skip to content

Add new TexBlock and Hit testing APIs#530

Merged
JimBobSquarePants merged 17 commits into
mainfrom
js/textblock
May 8, 2026
Merged

Add new TexBlock and Hit testing APIs#530
JimBobSquarePants merged 17 commits into
mainfrom
js/textblock

Introduce FontGlyphMetrics and rework GlyphMetrics

98c6466
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 8, 2026 in 0s

84% (+0%) compared to bf9f4aa

Details

Codecov Report

❌ Patch coverage is 89.10035% with 315 lines in your changes missing coverage. Please review.
✅ Project coverage is 84%. Comparing base (bf9f4aa) to head (98c6466).

Files with missing lines Patch % Lines
src/SixLabors.Fonts/TextInteraction.cs 74% 68 Missing and 50 partials ⚠️
src/SixLabors.Fonts/FontGlyphMetrics.cs 75% 39 Missing and 10 partials ⚠️
src/SixLabors.Fonts/TextLayout.LineBreaking.cs 89% 19 Missing and 11 partials ⚠️
src/SixLabors.Fonts/TextLine.cs 93% 15 Missing and 13 partials ⚠️
src/SixLabors.Fonts/LineLayout.cs 76% 20 Missing ⚠️
src/SixLabors.Fonts/TextBlock.Visitors.cs 95% 7 Missing and 5 partials ⚠️
src/SixLabors.Fonts/TextLayout.cs 95% 3 Missing and 5 partials ⚠️
...es/AdvancedTypographic/GPos/LookupType3SubTable.cs 12% 7 Missing ⚠️
src/SixLabors.Fonts/TextMeasurer.cs 75% 6 Missing and 1 partial ⚠️
src/SixLabors.Fonts/PlaceholderGlyphMetrics.cs 90% 6 Missing ⚠️
... and 16 more
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #530     +/-   ##
=======================================
  Coverage     83%     84%             
=======================================
  Files        312     332     +20     
  Lines      22737   24634   +1897     
  Branches    3349    3609    +260     
=======================================
+ Hits       19018   20737   +1719     
- Misses      2905    3010    +105     
- Partials     814     887     +73     

☔ 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.