Include "language.h".
authorhanda <handa>
Fri, 23 Jun 2006 02:31:55 +0000 (02:31 +0000)
committerhanda <handa>
Fri, 23 Jun 2006 02:31:55 +0000 (02:31 +0000)
commitcdc9fcbcce70579710d443eee4d67188938d32e3
treed1b03d4a889111e9ab2a750cd1d3022fda51abce
parentf085560e63ea5b1bc541e7ff50819a1b758a17ac
Include "language.h".
(Motf): New variable.
(otf_script_list, load_otf_script_list): Delete it.
(find_script_from_otf_tag): Delete it.
(merge_capability): New function.
(mfont__init): Init Motf.
(mfont__fini): Don't unref otf_script_list.
(free_font_capability): Check cap->script_tag to determine if
OTF-related capability is set.
(mfont__get_capability): Call mscript__from_otf_tag.  Adjusted for
the change of type MFontCapability.
(mfont_put_prop): Call merge_capability for Mlanguage, Mscript,
and Motf properties.
(mfont_list): Call merge_capability for LANGUAGE arg.
(mfont_list_family_names): New function.
src/font.c