diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-10-11 03:35:54 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-10-11 03:35:54 +0000 |
commit | 71b7a47f7972000021bade3c1cab8e34a0ce9d0c (patch) | |
tree | 90d1f9955b1442b4bf38418f1fd60950dc3cd097 /lisp/emacs-lisp/syntax.el | |
parent | 3c02eaa7d35f169f2d17f0d02bfc5c41ea8ef9c9 (diff) | |
download | emacs-71b7a47f7972000021bade3c1cab8e34a0ce9d0c.tar.gz emacs-71b7a47f7972000021bade3c1cab8e34a0ce9d0c.tar.bz2 emacs-71b7a47f7972000021bade3c1cab8e34a0ce9d0c.zip |
(PER_CHAR_METRIC): Remove unused macro.
(fm_font_family_alist): New variable.
(syms_of_macterm): Initialize and staticpro it.
(decode_mac_font_name): Replace '-' in family name with '_' if it
occurs just once. Lower family name.
(parse_x_font_name): Rename from x_font_name_to_mac_font_name.
All uses changed. Remove argument MF and code conversion for it.
Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS
to CHARSET. Parse font size. Lower family name. Return integer
value for status of parsing.
(init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
Don't use Fdowncase because family name is already lowered by
decode_mac_font_name.
(init_font_name_table): Always call decode_mac_font_name. Add
pair of family name and its reference to fm_font_family_alist.
(mac_clear_font_name_table): Clear fm_font_family_alist.
(XLoadQueryFont): Move font size parsing part to parse_x_font_name.
Lookup fm_font_family_alist to get font family reference.
(XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
name is already lowered by parse_x_font_name.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions