]> git.eshelyaron.com Git - emacs.git/commit
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 13 Nov 2005 05:46:52 +0000 (05:46 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 13 Nov 2005 05:46:52 +0000 (05:46 +0000)
commit16805b2eef3e21ef98353c2eee6e28519f2dd245
tree23050cc7bef66904ea181f20c1aa5de87545b887
parent26d2699b2204785b9955d0b0fa685674ac6cc501
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
(x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
(XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
cg_glyphs in struct MacFontStruct if synthesized bold or italic is
not used and font substitution never occurs for ASCII and Latin-1
characters.
(XLoadQueryFont): Maximum and minimum metrics are now those among
ASCII characters.
(XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
height adjustments for Courier, Helvetica, and Times.
src/macterm.c