Bug 23435 - missing or incorrect alias for NewCenturySchlbk
Summary: missing or incorrect alias for NewCenturySchlbk
Status: RESOLVED DUPLICATE of bug 18095
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: 2.7
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 23:20 UTC by Carl Michal
Modified: 2009-08-22 13:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Carl Michal 2009-08-20 23:20:12 UTC
pdf documents rendered in evince or xpdf that request NewCenturySchlbk fonts don't find the right fonts.  In 30-urw-aliases.conf, the following alias appears:

  <alias binding="same">
          <family>New Century Schoolbook</family>
          <accept><family>Century Schoolbook L</family></accept>
        </alias>

But it seems that NewCenturySchlbk is the official name of the standard postscript font family.  Replacing New Century Schoolbook with NewCenturySchlbk appears to solve the problem.
Comment 1 Behdad Esfahbod 2009-08-21 06:36:56 UTC
NewCenturySchlbk is he Postscript name, not regular family name.  Those are different things.  There's another bug open about postscript names.
Comment 2 Carl Michal 2009-08-21 10:14:47 UTC
This seems like kind of a big problem if pdf rendering programs don't know how to find standard postscript fonts.

And you're right some of the other standard fonts: AvantGarde, 
ZapfChancery, and ZapfDingbats don't match to something sensible either.

Knowing nearly nothing about how fontconfig works, my question is
where should the knowledge lie of which fonts should be selected by these pdf rendering applications?  Should poppler know what these fonts are?



Comment 3 James Cloos 2009-08-21 15:20:44 UTC
This is another case where fontconfig needs to cache and support
matching on the postscript name rather than just the family name.

And/or needs to have the postscript names also specified in the
various aliases, presumably under a psname key.
Comment 4 Behdad Esfahbod 2009-08-22 13:19:10 UTC
I'm  thinking about this.  Will come up with a solution in a few weeks.  Dupping for now.

*** This bug has been marked as a duplicate of bug 18095 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.