]> git.eshelyaron.com Git - emacs.git/commit
Improve font selection for punctuation and other symbols
authorEli Zaretskii <eliz@gnu.org>
Tue, 9 Jun 2015 14:56:39 +0000 (17:56 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 9 Jun 2015 14:56:39 +0000 (17:56 +0300)
commite0707282d214ff17b20a9f07ca2f4055610d30ea
treed0960fdc88c52d8d558d9995d5f7cc92b4d51f44
parent68273707ecbca6ff6d34071c04c2b395384c41e5
Improve font selection for punctuation and other symbols

* src/fontset.c (face_for_char): If the character's script is
'symbol', and the font used for ASCII face has a glyph for it, use
the font for the ASCII face instead of searching the fontsets.
This comes instead of NS-specific code that used the current
face's font instead, which is now disabled due to undesirable
consequences.  (Bug#20727)
src/fontset.c