summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-09-12 10:37:55 +0800
committerPo Lu <luangruo@yahoo.com>2023-09-12 10:37:55 +0800
commitc465740273f690510f86bce864c379c4c26c0382 (patch)
treea713fa4eefc0aa4b5278085e1d74549d55726c1a /src/w32term.c
parente25ad6e2a30f779614836dc4204992f2fd121693 (diff)
Extract font foundry metadata from the OS/2 table
* src/sfnt.c (sfnt_table_names): Append an entry for OS/2 tables. (sfnt_read_OS_2_table): New function. (main): Introduce a new test for the OS/2 table reader. * src/sfnt.h (sfnt_read_OS_2_table): New declaration. * src/sfntfont.c (sfnt_decode_foundry_name): Delete function. (sfnt_enum_font_1): Read the font's OS/2 table and extract the foundry name from there. Use `misc' if absent. (sfntfont_desc_to_entity, sfntfont_open): Cease interning desc->designer, as that is now a symbol. (syms_of_sfntfont) <Qmisc>: New defsym Qmisc. (bug#65865)
Diffstat (limited to 'src/w32term.c')
0 files changed, 0 insertions, 0 deletions