unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Stephen Berman <Stephen.Berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: (re)display problems after font backend merge
Date: Fri, 23 May 2008 22:57:10 +0100	[thread overview]
Message-ID: <48373DB6.1030808@harpegolden.net> (raw)
In-Reply-To: <87lk2069db.fsf@escher.local.home>

Stephen Berman wrote:

> -Adobe-Adobe Helvetica-normal-normal-normal-*-12-*-*-*-*-*-iso8859-1
> 
> The output includes Adobe Helvetica but not the other two fonts above
> (though B&H Lucida, B&H LucidaBright, and B&H LucidaTypewriter are
> listed).
>

I guess the filenames all ended in .pcf or .pcf.gz ? If so, they're all
fonts that ship as bitmaps with X. Yours apparently have the foundry
names prepended in the family though, which might be some sort of policy
change that I haven't encountered yet.

Of course they shouldn't be showing up at all if you've successfully
disabled bitmap fonts.  Huh.

> If either of these is right, it doesn't shed any light on why Emacs uses
> DejaVu Sans and b&h-Lucida Sans for faces derived from variable-pitch in
> my cases.
> 

Guess not.

But - bah. That "helv" (rather than "helvetica") that is in emacs'
variable-pitch's family by default is IMO unlikely to do anything
particularly sensible (unlike the "courier" default in fixed-pitch) -
"helv" is neither the name of a font nor an alias in fontconfig as far
as I can see, and family matching is not AFAICS substring-based in
fontconfig.

I had actively set my variable-pitch face to DejaVu Sans.  Are you
resetting it or leaving it default?


Since "helv" doesn't match anything, the decision is probably down
to other factors, like charsets covered or phase of the moon e.g.

helv:

fc-match helv:lang=ie => Vera.ttf: "Bitstream Vera Sans" "Roman"
fc-match helv:lang=ru => DejaVuSans.ttf: "DejaVu Sans" "Book"
fc-match helv:lang=ja => sazanami-gothic.ttf: "Sazanami Gothic" "Regular"

silly name (as you can see, same results as helv):

fc-match wheresmyjumper:lang=ie => Vera.ttf: "Bitstream Vera Sans" "Roman"
fc-match wheresmyjumper:lang=ru => DejaVuSans.ttf: "DejaVu Sans" "Book"
fc-match wheresmyjumper:lang=ja => sazanami-gothic.ttf: "Sazanami
Gothic" "Regular"

helvetica, apparently using the substitutions James Cloos mentioned:

fc-match helvetica:lang=ie => n019003l.pfb: "Nimbus Sans L" "Regular"
fc-match helvetica:lang=ru => n019003l.pfb: "Nimbus Sans L" "Regular"
fc-match helvetica:lang=ja => n019003l.pfb: "Nimbus Sans L" "Regular"


*** So perhaps emacs should default to "helvetica" for variable-pitch
if it's gonna default to "courier" for fixed-pitch.   Then fontconfig
might have a chance. :-)














  reply	other threads:[~2008-05-23 21:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 18:45 (re)display problems after font backend merge Stephen Berman
2008-05-16  0:57 ` Kenichi Handa
2008-05-16 10:22   ` Stephen Berman
2008-05-17  3:19     ` David De La Harpe Golden
2008-05-17 12:30       ` Stephen Berman
2008-05-17 14:02         ` David De La Harpe Golden
2008-05-17 18:37           ` Stephen Berman
2008-05-18  3:30             ` David De La Harpe Golden
2008-05-18 18:19               ` Stephen Berman
2008-05-22 20:36                 ` Stephen Berman
2008-05-23  4:16                   ` David De La Harpe Golden
2008-05-23 12:28                     ` Stephen Berman
2008-05-23 16:10                       ` David De La Harpe Golden
2008-05-23 17:03                         ` Stephen Berman
2008-05-23 17:37                           ` David De La Harpe Golden
2008-05-23 19:42                             ` James Cloos
2008-05-23 20:41                             ` Stephen Berman
2008-05-23 21:57                               ` David De La Harpe Golden [this message]
2008-05-24  1:16                                 ` James Cloos
2008-05-24 23:01                                 ` Stephen Berman
2008-05-27 13:17                   ` Stephen Berman

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=48373DB6.1030808@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=Stephen.Berman@gmx.net \
    --cc=emacs-devel@gnu.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 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).