Commit f26e5f2
fix: pass first run's style as RTF base TextConfig
RTF views passed empty TextConfig (no font, size 0) causing wrong
primary_ascent and emoji rendered too high. Extract first run's
vglyph style as base so PangoLayout gets proper font description.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d3f436f commit f26e5f2
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments