aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2023-12-23 11:22:21 +0800
committerPo Lu2023-12-23 11:22:21 +0800
commit9aea075f5fd6e1d6b7f6d7fe35de8f3da752c3e7 (patch)
tree92c0862ae15042ef5f21d3d1b60de9e3b405b83f /java
parente84493eae91f9d94902844ef6e8fb296bde72ca7 (diff)
downloademacs-9aea075f5fd6e1d6b7f6d7fe35de8f3da752c3e7.tar.gz
emacs-9aea075f5fd6e1d6b7f6d7fe35de8f3da752c3e7.zip
Respect glyph metrics modified by instruction code
* src/sfnt.c (sfnt_read_glyph): Clear advance and origin distortion returning an empty glyph. (sfnt_build_instructed_outline): New parameter *ADVANCE_WIDTH, in which the glyph's advance width is saved. (sfnt_interpret_compound_glyph_1): Refine commentary. (sfnt_verbose, main): Adjust tests. * src/sfnt.h: Update prototypes correspondingly. * src/sfntfont.c (sfntfont_get_glyph_outline): If an instructed outline is available, derive the advance and lbearing from the measurements within. (sfntfont_probe_widths): Call sfntfont_measure_pcm to establish average widths. (sfntfont_open): Do so after instruction code initialization completes. (sfntfont_measure_pcm): Revise commentary.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions