Commit 0cda576
committed
refactor(engine): trim FontLineMetrics to a bare metrics carrier
Drop the unused lineHeight()/baselineOffsetFromBottom() convenience methods: the measurement system reads ascent()/descent()/leading() directly and converts to TextMeasurementSystem.LineMetrics (which owns the derived helpers), so they had no callers. Review-driven dead-code removal; no behaviour change.1 parent 20b4f7c commit 0cda576
1 file changed
Lines changed: 5 additions & 18 deletions
Lines changed: 5 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 25 | | |
0 commit comments