[Poppler-bugs] [Bug 26143] Regression bug with cairo and Type 3 user-fonts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 23 06:59:26 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26143





--- Comment #3 from James Cloos <cloos at jhcloos.com>  2010-01-23 06:59:25 PST ---
> My libcairo2 version is 1.8.8-2ubuntu2.

I suspected a 1.8 version.  I did give it a try using cairo, poppler and
evince master, and got what is likely the same result.  (My poppler and
evince are a bit out of date — master as of dec 1st — but cairo was up
to date when I tested.)  The gtk libs were also a bit old.

I had evince print to file and generated each of pdf, ps and svg.

When I view the resulting pdf in mupdf (cf http://mupdf.com) the third
page has the glyphs /one and /two on top of each other, centered on the
(landscape) page at something on the order of 500 points.  The /one and
the /two seem to be from the line showing the results of tan(θ ± φ),
from the [(θ ± φ) ≠ (k + ½)π] part of the formula.

Every other viewer I tried, including ghostscript’s rendering of the ps,
failed to show the oversized /one and /two.

Using poppler’s splash backend via its pdftops(1) created a ps file
which worked correctly.

It appears that the software which created the original pdf used a type3
font to make a ½ glyph out of a line and the /one and /two glyphs of
Times and that it is poppler’s or cairo’s attempt to deal with that
using cairo userfonts which fails.  Probably due to layers of scaling.

You might want to open another fdo bug on this, speicfying cairo as
the product <http://bugs.freedesktop.org/enter_bug.cgi?product=cairo>,
and referencing cairo userfonts and this bug, in case the problem is
in cairo rather than how poppler interfaces with cairo usefonts.

If you do try out a full master chain, you'll want to specify a --prefix
somewhere under $HOME and turn on all debugging options when configuring.

Run the autogen.sh (or similar) script each git clone to create the
configure script, and then ./configure --help to see the options,
followed by ./configure --prefix=... ... and then make install.


-- 
Configure bugmail: http://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