# HG changeset patch # User Jason Rumney # Date 1207228573 0 # Node ID 7ec6308bd95a8e66c53cbc0b40b140e92b9a4a38 # Parent 24c940ccd28ed7dfc543faed8aac7308c853b1f1 *** empty log message *** diff -r 24c940ccd28e -r 7ec6308bd95a src/ChangeLog --- a/src/ChangeLog Thu Apr 03 13:14:16 2008 +0000 +++ b/src/ChangeLog Thu Apr 03 13:16:13 2008 +0000 @@ -9,6 +9,40 @@ 2008-04-03 Jason Rumney + * w32uniscribe.c: New file. + + * font.h (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. + + * w32font.h (uniscribe_check_otf): Declare for w32font.c. + + * w32font.c (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot) + (Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi) + (Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya) + (Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri) + (Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic) + (Qphonetic): New symbols. + (syms_of_w32font): Initialize them. + (font_supported_scripts): Use them. + (w32font_list_family): List all charsets. + (w32font_text_extents, recompute_cached_metrics): Fix metric + calculations. + (w32_enumfont_pattern_entity): Make full_type a DWORD. + Give opentype fonts their own format. + (font_matches_spec): New arguments backend and logfont. + Handle :otf spec for uniscribe backend. + (add_font_entity_to_list): Match truetype fonts in uniscribe backend. + (fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied. + + * w32fns.c (Fx_create_frame): Conditionally register uniscribe + font backend. + (globals_of_w32fns): Initialize uniscribe font backend. + + * makefile.w32-in (CONFIG_H): New variable. Use it to clean up + dependencies. + (w32uniscribe.$(O)): New file to build. + (FONT_OBJ): Include w32uniscribe.$(O). + (LIBS): Add uniscribe libraries. + * ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val. 2008-04-02 Chong Yidong