all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; SEGV in font_score()
Date: Mon, 09 Jun 2008 16:08:58 -0400	[thread overview]
Message-ID: <m3fxrms74e.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <m3lk1fiwpr.fsf@lugabout.jhcloos.org> (James Cloos's message of "Sun, 08 Jun 2008 14:54:01 -0400")

OK.  That was exactly what I needed.

The non-symbol family was an int.  300.

And I found this in fc-list:

:; fc-list 300 file family
/home/cloos/.fonts/Urdu/Nafees_Pakistani_Naskh.ttf: 300,Nafees Pakistani Naskh
/home/cloos/.fonts/Urdu/nafees_naskh.ttf: 300,Nafees Naskh
:; fc-cat ~/.fonts/Urdu|grep 300
"Nafees_Pakistani_Naskh.ttf" 0 "300,Nafees Pakistani Naskh:familylang=en,en
 :style=Regular:stylelang=en:fullname=Nafees Pakistani Naskh:fullnamelang=en
 :slant=0:weight=80:width=100:foundry=unknown:index=0:outline=True:scalable=True
 :charset=<elided>:lang=:fontversion=131072:capability=otlayout\\:arab
 :fontformat=TrueType:decorative=False"
"nafees_naskh.ttf" 0 "300,Nafees Naskh:familylang=en,en:style=Regular
 :stylelang=en:fullname=Nafees Naskh:fullnamelang=en:slant=0:weight=80
 :width=100:foundry=unknown:index=0:outline=True:scalable=True
 :charset=<elided>:lang=:fontversion=131072:capability=otlayout\\:arab
 :fontformat=TrueType:decorative=False"

Those two fonts came from www.crulp.org and, as you can guess from where
I saved them, target Urdu.  Based on the filesystem dates, they've been
in my .fonts for more than 3 years.

I couldn't find a link to either of them on their current site, so I
grabbed their current fonts and moved those two out of the way.

In short, Emacs stored the family name as an int instead of as a symbol
if it happened to be composed on only ascii digits.

I suspect the name 300 is a bug in the fonts, but you'll probably have
to defend against such possibilities anyway.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




  reply	other threads:[~2008-06-09 20:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04 22:20 23.0.60; SEGV in font_score() James Cloos
2008-06-05  5:58 ` Kenichi Handa
2008-06-05 18:16   ` James Cloos
2008-06-06  5:48   ` James Cloos
2008-06-06 21:08     ` James Cloos
2008-06-07 18:49       ` James Cloos
2008-06-08 11:25         ` Kenichi Handa
2008-06-08 18:54           ` James Cloos
2008-06-09 20:08             ` James Cloos [this message]
2008-06-10  2:09               ` Kenichi Handa

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=m3fxrms74e.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=handa@m17n.org \
    /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.