diff options
| author | Po Lu | 2023-10-30 15:32:58 +0800 |
|---|---|---|
| committer | Po Lu | 2023-10-30 15:33:27 +0800 |
| commit | ecc8870981ef1a802f9504b1d0f261d19ab372b1 (patch) | |
| tree | ef80cdae1f4a47e2740c17b91503384fd8242ca3 /java | |
| parent | bdec2d2d464919572ae948ba8150e014aa649191 (diff) | |
| download | emacs-ecc8870981ef1a802f9504b1d0f261d19ab372b1.tar.gz emacs-ecc8870981ef1a802f9504b1d0f261d19ab372b1.zip | |
Ascertain font spacing from post table if present
* src/sfnt.c (sfnt_table_names): Introduce name of post table.
(sfnt_read_post_table): New function.
(main): New tests.
* src/sfnt.h (struct sfnt_post_table): New struct.
* src/sfntfont.c (sfnt_enum_font_1): Read post table, and set
spacing from its is_fixed_pitch value.
(sfntfont_list_1): Compare spacing between both fonts if
supplied in the font spec.
(sfntfont_open): Set FONT_FILE_INDEX as well as
FONT_FULLNAME_INDEX.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions