diff options
| author | Po Lu | 2023-08-20 12:44:38 +0800 |
|---|---|---|
| committer | Po Lu | 2023-08-20 12:48:03 +0800 |
| commit | 15e498047f8d37526e0c361e369e5f06c4712db3 (patch) | |
| tree | 600c20664d379aa5da11204aa6a890dc4dc9338d /java | |
| parent | f58d01e01e095b18a9c64c0bab3acd79fd4ba96f (diff) | |
| download | emacs-15e498047f8d37526e0c361e369e5f06c4712db3.tar.gz emacs-15e498047f8d37526e0c361e369e5f06c4712db3.zip | |
Update Android port
* src/sfnt.c (sfnt_decompose_compound_glyph): New argument
GET_METRICS. Call this function to retrieve glyph metrics used
to compute phantom points when a component glyph's anchor point
is one.
(sfnt_decompose_glyph, sfnt_build_glyph_outline): Plumb
GET_METRICS these two functions.
(sfnt_interpret_shc): Don't shift the provided reference point.
(sfnt_transform_f26dot6): Eschew looping through X and Y if no
offsets are provided.
(sfnt_interpret_compound_glyph_2): Discontinue initializing
phantom points here.
(sfnt_interpret_compound_glyph_1): Do not incorporate phantom
points into the ultimately produced glyph outline. Correctly
provide for phantom childanchor points.
(sfnt_test_get_metrics, main): Update tests.
* src/sfnt.h: Update prototypes.
* src/sfntfont.c (struct sfntfont_get_glyph_outline_dcontext):
New fields `hmtx', `hhea' and `maxp'.
(sfntfont_get_metrics): New function.
(sfntfont_get_glyph_outline): Provide new tables and the new
callback function.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions