Bug 21061

Summary: Font rendering problems with pdfLaTeX and T1 fonts
Product: poppler Reporter: Thomas Zell <t.zell>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mpsuzuki
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: PDF file with bad rendering
LaTeX source
Okular rendering
Acrobat Reader rendering
xpdf rendering

Description Thomas Zell 2009-04-05 09:24:12 UTC
Created attachment 24576 [details]
PDF file with bad rendering

Okular has a problem with certain PDF files generated by pdfLaTeX. The
characters appear too thin and are difficult to read.

Attachments include a PDF file triggering this problem and the corresponding
LaTeX source file.

I also attached screenshots from Acrobat Reader and xpdf which render the file
correctly for comparison.

Please note, that the rendering looks fine if there are no T1 encoded fonts
used (However T1 fonts are required to properly typeset German texts with
umlauts).
Comment 1 Thomas Zell 2009-04-05 09:24:51 UTC
Created attachment 24577 [details]
 LaTeX source
Comment 2 Thomas Zell 2009-04-05 09:25:15 UTC
Created attachment 24578 [details]
Okular rendering
Comment 3 Thomas Zell 2009-04-05 09:25:27 UTC
Created attachment 24579 [details]
Acrobat Reader rendering
Comment 4 Thomas Zell 2009-04-05 09:25:39 UTC
Created attachment 24580 [details]
xpdf rendering
Comment 5 Thomas Zell 2009-04-05 11:03:48 UTC
I'm using OpenSuSE 11.1. I've seen the same problem ocurring on Kubuntu. This bug report might be related:
https://bugs.launchpad.net/ubuntu/+source/kdegraphics/+bug/48146
Comment 6 Thomas Zell 2010-09-03 10:27:52 UTC
This has been fixed since quite a while (poppler version 0.12 definitely works).
Comment 7 suzuki toshiya 2010-09-03 11:13:12 UTC
Hi, thank you for updating the status!
I think this issue is related with the poppler's default setting of hinter for FreeType2.
It was disabled by default since 2009-Oct-6.

I made a comparison of the font rasterization results by latest FreeType2 with
hinter enabled/disabled:

https://www.codeblog.org/blog/mpsuzuki/images/20100904_0.png

You can find the dropout issue can occur by the latest FreeType2 when hinter is enabled.
When you find similar problem in other application, please remind this.

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.