(Qja, Qko, Qzh): New symbols.
authorJason Rumney <jasonr@gnu.org>
Tue, 8 Apr 2008 13:52:21 +0000 (13:52 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 8 Apr 2008 13:52:21 +0000 (13:52 +0000)
commit8f112d5210cf530f35c77172a4d44e12703be53a
treebf96336df00c4cd672cfbb8e78e960f146b37d1b
parent20e3d3f1cad9f6b6c69f04fb613a5d2ad2232566
(Qja, Qko, Qzh): New symbols.
(syms_of_w32font): Initialise them.
(font_matches_spec): Use them to filter by language.
(recompute_cached_metrics): Remove function.
(compute_metrics, clear_cached_metrics): New functions.
(w32font_encode_char): Use them to manage metric cache.
(w32font_text_extents): Cache metrics for all glyphs on demand.
Delay converting glyph indices to WORD until needed.
(w32font_open_internal): Initialize metric cache to empty.
(registry_to_w32_charset): Charset should always be a symbol.
(fill_in_logfont, list_all_matching_fonts): Family should always be a symbol.
src/w32font.c