aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPo Lu2023-08-16 11:02:55 +0800
committerPo Lu2023-08-16 11:02:55 +0800
commit6dacf5bce4e55f216561c3f38561b5479f8ba640 (patch)
treedd07e9ed013d9d6eb03659618159ba9e20afd2f9 /src/bytecode.c
parent612f25c24ff08b9343ec8897c8dbcfc02d9b0d07 (diff)
downloademacs-6dacf5bce4e55f216561c3f38561b5479f8ba640.tar.gz
emacs-6dacf5bce4e55f216561c3f38561b5479f8ba640.zip
Fix display of compound glyphs that employ simple transforms
* src/sfnt.c (sfnt_transform_coordinates): Always compute an affine transform matrix except if no scale is provided at all. Unconditionally apply x_off and y_off. (sfnt_decompose_compound_glyph): Delete arguments OF_X and OFF_Y. Apply component offsets after writing simple glyph contours. (sfnt_decompose_glyph): Modify for new calling convention. (sfnt_transform_f26dot6): Modify analogously to sfnt_decompose_compound_glyph. Also correct anchor offset computation to scale the unscaled component anchor coordinates by the interpreter scale. (sfnt_interpret_compound_glyph_1): Also modify for new calling convention. * src/sfnt.h (struct sfnt_compound_glyph_component): <u>: Make scale fields signed.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions