(font_parse_fcname): Don't change :name property of FONT.
authorKenichi Handa <handa@m17n.org>
Tue, 1 Aug 2006 01:28:43 +0000 (01:28 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 1 Aug 2006 01:28:43 +0000 (01:28 +0000)
commite950d6f12fc0171a0b9b464bec1a9b6ab54c01a1
treeb1f10cee7ceb9ac170ce0d0fb1f1c1e13e825712
parent8fb9e6757ed669f207f203b21ee0aa94715797d0
(font_parse_fcname): Don't change :name property of FONT.
(font_parse_name): Likewise.
(LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE, check_gstring): Define
them unconditionally.
(font_matching_entity): New function.
(font_open_by_name): Try font_matching_entity if exact match is
not found.
(font_update_drivers): Delete the arg FONT.  Return a list of
actually used backends.  Don't free faces, font caches here.
Don't store data in frame parameters.  Don't call x_set_font.
(Ffont_spec): Store :name property as is.
(Ffont_get): Check HAVE_LIBOTF before calling font_otf_capability.
(Ffont_otf_gsub): Call font->driver->otf_gsub instead of
font_otf_gsub.
(Ffont_otf_gpos): Call font->driver->otf_gpos instead of
font_otf_gpos.
(Ffont_otf_alternates): Check if the driver has otf_gsub function.
Call font->driver->otf_gsub instead of font_otf_gsub.
src/font.c