From: Chong Yidong <cyd@stupidchicken.com>
To: 709@emacsbugs.donarmstrong.com
Subject: bug#709: font selection problem
Date: Wed, 15 Oct 2008 19:05:52 -0400 [thread overview]
Message-ID: <87zll5xxv3.fsf@cyd.mit.edu> (raw)
In-Reply-To: <20081015.233805.163660517.wl@gnu.org> (Werner LEMBERG's message of "Wed, 15 Oct 2008 23:38:05 +0200 (CEST)")
[Recording a message from Werner LEMBERG]:
-----
[I started emacs with
gdb --args emacs -Q
in the emacs src dir, using CVS from Oct. 14th, 22:44 MEST]
First, move point over any non-space character, and do `C-u C-x ='.
This should report the default font, among other information. What is
this font?
Using a character from the message in the `*scratch*' buffer, it
reports
character: u (117, #o165, #x75)
preferred charset: ascii (ASCII (ISO646 IRV))
code point: 0x75
syntax: w which means: word
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0])
l:Latin r:Japanese roman
buffer code: #x75
file code: #x75 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 (#x75)
Character code properties: customize what to show
name: LATIN SMALL LETTER U
general-category: Ll (Letter, Lowercase)
There are text properties here:
face font-lock-comment-face
fontified t
Next, do
M-: (x-select-font) RET
What is the default font shown in the dialog?
Sans - Standard - 12
Try setting a breakpoint in Fx_select_font, and call
M-: (x-select-font) RET
again. [...]
Is default_font defined?
Yes. `pr default_font' gives
#<font-object "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1">
If so, step past the call to font_unparse_gtkname. What is the
string stored in default_name?
"gothic Medium R 15".
next parent reply other threads:[~2008-10-15 23:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87zll7uh44.fsf@cyd.mit.edu>
[not found] ` <20081015.074036.233943854.wl@gnu.org>
[not found] ` <87iqrtptx6.fsf@cyd.mit.edu>
[not found] ` <20081015.233805.163660517.wl@gnu.org>
2008-10-15 23:05 ` Chong Yidong [this message]
2008-10-15 23:11 ` bug#709: font selection problem Chong Yidong
2008-10-16 4:41 ` Werner LEMBERG
2008-10-16 16:08 ` Chong Yidong
2008-10-16 20:11 ` Werner LEMBERG
2008-10-17 19:58 ` Chong Yidong
2008-10-17 20:27 ` Werner LEMBERG
2008-10-18 15:42 ` Chong Yidong
2008-10-19 2:45 ` Werner LEMBERG
2009-01-16 18:16 Chong Yidong
2009-01-18 6:11 ` Werner LEMBERG
-- strict thread matches above, loose matches on Subject: below --
2008-08-13 14:55 Chong Yidong
2008-08-14 4:54 ` Werner LEMBERG
2008-08-13 13:14 Werner LEMBERG
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zll5xxv3.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=709@emacsbugs.donarmstrong.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).