Skip to content

Add LineMetrics and per-line measurement API#499

Merged
JimBobSquarePants merged 5 commits into
mainfrom
js/linemetrics
Feb 28, 2026
Merged

Add LineMetrics and per-line measurement API#499
JimBobSquarePants merged 5 commits into
mainfrom
js/linemetrics

Use lineSpacing float and fix metrics

461d46c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 28, 2026 in 0s

83% (+0%) compared to 6078cd5

Details

Codecov Report

❌ Patch coverage is 66.94915% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 83%. Comparing base (6078cd5) to head (461d46c).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
src/SixLabors.Fonts/TextLayout.cs 48% 29 Missing and 3 partials ⚠️
src/SixLabors.Fonts/TextMeasurer.cs 83% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main    #499    +/-   ##
======================================
  Coverage     83%     83%            
======================================
  Files        272     274     +2     
  Lines      18929   19184   +255     
  Branches    2676    2719    +43     
======================================
+ Hits       15836   16081   +245     
- Misses      2422    2426     +4     
- Partials     671     677     +6     

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