From: Adrian Robert <adrian.b.robert@gmail.com>
To: 3588@emacsbugs.donarmstrong.com
Cc: David Reitter <david.reitter@gmail.com>
Subject: bug#3588: NS: wrong font chosen
Date: Thu, 23 Jul 2009 11:01:36 -0400 [thread overview]
Message-ID: <2FF44DE3-3B9E-453C-A304-3041AD432284@gmail.com> (raw)
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3588
I generated a trace output from this for the current CVS version and
believe that the problem is that:
1) the NS font driver is not responding to registries
and
2) the core font code is not incorporating the fact that iso10646-1 is
a superset of ascii or "ascii-0" into its logic
Fix one of these and the problem goes away. To work on (1) would need
a map converting from registries to scripts. I'd prefer to keep this
ugliness to support low-level X-legacy font code out of the NS port,
but there may be no avoiding it in the long run. To work on (2)
requires some study of how the font search code in font/fontset.c
works. It is possible that a clearly-written email to emacs-devel
would attract Handa-san's attention and he could fix it quickly though..
nsfont: list for fontspec:
#<font-spec ns apple Lucida\ Calligraphy nil iso10646-1 nil nil
nil nil nil nil nil ((:name))>
2009-07-23 10:55:20.072 Emacs[16252:807] Request covering families for
script: ''
2009-07-23 10:55:20.073 Emacs[16252:807] returning 203 families
2009-07-23 10:55:20.076 Emacs[16252:807] Got desc NSCTFontDescriptor
<0x166b800> = {
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))>
Returning 1 entities.
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-07-23 10:55:20.079 Emacs[16252:807] Request covering families for
script: ''
2009-07-23 10:55:20.081 Emacs[16252:807] returning 203 families
2009-07-23 10:55:20.083 Emacs[16252:807] Got desc NSCTFontDescriptor
<0x16b6390> = {
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))>
Returning 1 entities.
nsfont: list for fontspec:
#<font-spec ns nil Lucida\ Calligraphy nil ascii-0 nil nil nil
nil nil nil nil ((:name))>
nsfont: list for fontspec:
#<font-spec ns apple nil nil iso10646-1 nil nil nil nil nil nil
nil ((:name))>
2009-07-23 10:55:20.087 Emacs[16252:807] Request covering families for
script: ''
2009-07-23 10:55:20.088 Emacs[16252:807] returning 203 families
2009-07-23 10:55:20.102 Emacs[16252:807] Got desc NSCTFontDescriptor
<0x16b6670> = {
} and found 443 matching fonts from it:
next reply other threads:[~2009-07-23 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 15:01 Adrian Robert [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-16 15:08 bug#3588: NS: wrong font chosen David Reitter
2009-06-17 5:10 ` bug#3593: " Adrian Robert
2009-06-17 14:14 ` bug#3588: " David Reitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2FF44DE3-3B9E-453C-A304-3041AD432284@gmail.com \
--to=adrian.b.robert@gmail.com \
--cc=3588@emacsbugs.donarmstrong.com \
--cc=david.reitter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.