[Poppler-bugs] [Bug 49037] Noncompliance with Standard-14 fonts requirement in PDF specs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 25 20:14:08 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49037

--- Comment #22 from suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp> 2012-04-25 20:14:08 PDT ---
(In reply to comment #5)
> 4. On my system I have a true type font ZapfDingbats, installed by ScanSoft,
> and I would like to use this one. Why does PFB fonts overrules TTF fonts?

In addition, the preference is by the hardwired filename, not by font file
format!

# If the TrueType fonts were unreliable resource, as earlier Ghostscript,
# or the days of patented hinting problem, the prioritization to PS Type1
# fonts would be reasonable. But I think it is not applicable to the
# recent poppler...

Yet I'm not sure about the frequency of this situation ("I have genuine
typeface
for some base 14/35 fonts, but poppler prioritizes non-genuine substitution
fonts!"), but I think this comment is reasonable. And, this is not Win32
specific issue. Mac OS X may have similar issue, I'm afraid (there would be
genuine Helvetica, but they would not be used?).

However, the "genuinity" of the fonts cannot be validated by poppler, except
of the cases that the fonts are detected to be manufactured by Adobe or some
companies producing the fonts for PS or PDF engines (detection would be
possible
by checking the entries in 'name' table).

In my personal opinion, the external configuration file to control such
ambiguity
at users own risk would be the easiest solution. But considering the external
configuration files are not welcomed solution for poppler maintainers,
the compromising point would be:

0) Having the list of the familyname/PostScript name and another
list of the filenames for base14/35 fonts. The list should be
ordered from the higher priority to lower priority. Also a blacklist
of the font to be avoided should be prepared.

1) Lookup the font by the familyname or PostScript name.
1') If the found font is blacklisted (how to identify?),
skip to next candidate.

2) If no font with compatible(?) familyname/PostScript name
is found, lookup the font by the list of the filenames.

Please comment.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list