Repository navigation
Commit fab901b
Hinting: FreeType's integer arithmetic
Vectors are 2.14 integers normalized like FT_Vector_NormLen, projections
use TT_DotFix14, moves the 16.16 move vector of Compute_Funcs with
FT_MulFix (touching only where points move), twilight points TT_MulFix14.
Also like FreeType: SLOOP 0, IP on unscaled values (and the original
distance when the range is empty), composites measuring their hinted
components at scale 1 with unrounded phantoms when they have no
instructions, DELTA counts clamped to the stack, exact FT_DivFix.
18 fonts at 8-48 px and all glyphs of DejaVu Sans now match FreeType v35
point for point; the font test targets change accordingly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lfv41PqHEGbU7SLg5onpG11 parent a7c9e84 commit fab901b
7 files changed
Lines changed: 148 additions & 70 deletions
File tree
- src/render
- tests/targets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
| |||
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
0 commit comments