* Default font Inconsolata but guillemets in STIXGeneral
@ 2012-07-17 14:43 Heilmann, Till A.
2012-07-18 22:06 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Heilmann, Till A. @ 2012-07-17 14:43 UTC (permalink / raw)
To: help-gnu-emacs
I want to use Emacs 24.1 (9.0) downloaded from http://emacsformacosx.com/ with the Inconsolata font in OTF on Mac OS 10.7.4. My ~/.emacs contains only one line:
(set-face-attribute 'default nil :font "Inconsolata-16")
The font is mostly displayed correctly in the buffer (see first output of describe-char below), except for guillemets (see second output of describe-char below). Does anyone have an idea why Emacs uses STIXGeneral instead of Inconsolata to display guillemets? BTW, it messes with the line spacing too: lines with guillemets have more spacing than others.
Thanks and regards,
Till
Position: 54 of 37772 (0%), column: 2
character: E (displayed as E) (codepoint 69, #o105, #x45)
preferred charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x45
syntax: w which means: word
category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
buffer code: #x45
file code: #x45 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
nil:-apple-Inconsolata-medium-normal-normal-*-16-*-*-*-m-0-iso10646-1 (#x45)
Character code properties: customize what to show
name: LATIN CAPITAL LETTER E
general-category: Lu (Letter, Uppercase)
decomposition: (69) ('E')
Position: 4190 of 37772 (11%), column: 2
character: › (displayed as ›) (codepoint 8250, #o20072, #x203a)
preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x203A
syntax: . which means: punctuation
category: .:Base
buffer code: #xE2 #x80 #xBA
file code: #xE2 #x80 #xBA (encoded by coding system utf-8-unix)
display: by this font (glyph code)
nil:-apple-STIXGeneral-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x76)
Character code properties: customize what to show
name: SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
old-name: RIGHT POINTING SINGLE GUILLEMET
general-category: Pf (Punctuation, Final quote)
decomposition: (8250) ('›')
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Default font Inconsolata but guillemets in STIXGeneral
2012-07-17 14:43 Default font Inconsolata but guillemets in STIXGeneral Heilmann, Till A.
@ 2012-07-18 22:06 ` Peter Dyballa
2012-07-19 14:24 ` Till Heilmann
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2012-07-18 22:06 UTC (permalink / raw)
To: till.heilmann; +Cc: help-gnu-emacs
Am 17.07.2012 um 16:43 schrieb Heilmann, Till A.:
> (set-face-attribute 'default nil :font "Inconsolata-16")
I'm not using this but setting up the frames to use a particular font, as in:
(add-to-list 'default-frame-alist
'(font . "Lucida Sans Typewriter-8"))
With this › is taken from Lucida Sans Typewriter.
--
Mit friedvollen Grüßen
Pete
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
– Rich Cook
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Default font Inconsolata but guillemets in STIXGeneral
2012-07-18 22:06 ` Peter Dyballa
@ 2012-07-19 14:24 ` Till Heilmann
2012-07-19 14:36 ` Till Heilmann
2012-07-19 14:44 ` Peter Dyballa
0 siblings, 2 replies; 5+ messages in thread
From: Till Heilmann @ 2012-07-19 14:24 UTC (permalink / raw)
To: help-gnu-emacs
Am 19.07.2012 um 00:06 schrieb Peter Dyballa:
> I'm not using this but setting up the frames to use a particular font, as in:
>
> (add-to-list 'default-frame-alist
> '(font . "Lucida Sans Typewriter-8"))
>
> With this › is taken from Lucida Sans Typewriter.
Thanks, tried that. Now the single guillemets are displayed in AppleMyungjo...
position: 2073 of 39527 (5%), column: 126
character: › (displayed as ›) (codepoint 8250, #o20072, #x203a)
preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x203A
syntax: . which means: punctuation
category: .:Base
buffer code: #xE2 #x80 #xBA
file code: #xE2 #x80 #xBA (encoded by coding system utf-8-unix)
display: by this font (glyph code)
nil:-apple-AppleMyungjo-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x4A5)
Character code properties: customize what to show
name: SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
old-name: RIGHT POINTING SINGLE GUILLEMET
general-category: Pf (Punctuation, Final quote)
decomposition: (8250) ('›')
There are text properties here:
fontified t
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Default font Inconsolata but guillemets in STIXGeneral
2012-07-19 14:24 ` Till Heilmann
@ 2012-07-19 14:36 ` Till Heilmann
2012-07-19 14:44 ` Peter Dyballa
1 sibling, 0 replies; 5+ messages in thread
From: Till Heilmann @ 2012-07-19 14:36 UTC (permalink / raw)
To: help-gnu-emacs
Am 19.07.2012 um 16:24 schrieb Till Heilmann:
> Thanks, tried that. Now the single guillemets are displayed in AppleMyungjo...
Regarding my last mail: It tried this on a different machine (my work computer, not my private one) with a different OS (Mac OS X 10.6.7) but with the same build of Emacs (24.1 [9.0] from emacsforosx.com). So it seems to depend on the overall setup of the computer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Default font Inconsolata but guillemets in STIXGeneral
2012-07-19 14:24 ` Till Heilmann
2012-07-19 14:36 ` Till Heilmann
@ 2012-07-19 14:44 ` Peter Dyballa
1 sibling, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2012-07-19 14:44 UTC (permalink / raw)
To: Till Heilmann; +Cc: help-gnu-emacs
Am 19.07.2012 um 16:24 schrieb Till Heilmann:
> nil:-apple-AppleMyungjo-medium-normal-normal-*-16-*-*-*-p-0-iso10646-1 (#x4A5)
And I can also get
nil:-apple-Symbola-medium-normal-normal-*-9-*-*-*-p-0-iso10646-1 (#x3B1)
This is quite interesting…
A certain work-around for this behaviour should be to create a fontset in which all interesting character ranges are bound to particular fonts.
--
Mit friedvollen Grüßen
Pete
Life is the only flaw in an otherwise perfect nonexistence
– Schopenhauer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-19 14:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17 14:43 Default font Inconsolata but guillemets in STIXGeneral Heilmann, Till A.
2012-07-18 22:06 ` Peter Dyballa
2012-07-19 14:24 ` Till Heilmann
2012-07-19 14:36 ` Till Heilmann
2012-07-19 14:44 ` Peter Dyballa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.