diff options
| author | Po Lu | 2023-12-26 14:07:58 +0800 |
|---|---|---|
| committer | Po Lu | 2023-12-26 14:10:57 +0800 |
| commit | cd91ecedcbdf03ae13f45cb173360b11f13a0bc0 (patch) | |
| tree | daa4d9d65f6db42b8a6f924bd50b30132008ee16 /java/org | |
| parent | a6ef458e3831001b0acad57cf8fa75b77a4aff3f (diff) | |
| download | emacs-cd91ecedcbdf03ae13f45cb173360b11f13a0bc0.tar.gz emacs-cd91ecedcbdf03ae13f45cb173360b11f13a0bc0.zip | |
Consistently round glyph advances in the SFNT font backend
* src/sfnt.h (SFNT_ROUND_FIXED): New macro.
* src/sfntfont.c (sfntfont_get_glyph_outline): Don't apply
advance width distortion before the glyph is instructed or
decomposed. Round advance width as measured between both
phantom points subsequent to instruction code execution.
(sfntfont_draw): Don't take the advance's ceiling when advancing
origin point.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions