bug#3593: NS: wrong font chosen

Adrian Robert <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
On Jun 16, 2009, at 6:08 PM, David Reitter wrote:

> nsfont: list for fontspec:
>     #<font-spec ns apple Lucida\ Calligraphy nil ascii-0 nil nil  
> nil nil nil nil nil ((:name))>
> nsfont: list for fontspec:
>     #<font-spec ns nil Lucida\ Calligraphy nil iso10646-1 nil nil  
> nil nil nil nil nil ((:name))>
> 2009-06-16 11:02:17.197 Emacs[41030:10b] Request covering families  
> for script: ''
> 2009-06-16 11:02:17.198 Emacs[41030:10b]     returning 287 families
> 2009-06-16 11:02:17.198 Emacs[41030:10b] Got desc  
> NSCTFontDescriptor <0x16ec970> = {
>     NSFontFamilyAttribute = "Lucida Calligraphy";
> } and found 1 matching fonts from it:
> created font_entity:
>     #<font-entity ns apple Lucida_Calligraphy nil iso10646-1 medium  
> italic normal 0 nil 0 0 ((:name))>
> created font_entity:
>     #<font-entity ns apple Lucida_Calligraphy synthItal iso10646-1  
> medium italic normal 0 nil 0 0 ((:name))>
>     Returning 2 entities.

Hmm, Lucida Calligraphy has 'italic' set, which I assume causes emacs  
to not use it for non-italic text.  However, I wonder why it is  
creating a synth-italic entity here -- it shouldn't.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.