Bug 5907 - Text is not rendered properly
Summary: Text is not rendered properly
Status: RESOLVED NOTABUG
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 21:10 UTC by Sebastien Bacher
Modified: 2006-02-18 10:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastien Bacher 2006-02-16 21:10:34 UTC
That bug has been opened on
https://launchpad.net/distros/ubuntu/+source/evince/+bug/31596

"Evince doesn't display my PDF's properly (anymore, works fine in Breezy), the
text is very difficult to read, horrible. I tried with Gpdf, and the text looks
normal/correct. I attached a screenshot for a side by side comparison (Gpdf on
top, Evince at the bottom).

http://librarian.launchpad.net/1573411/Screenshot.png
    * Screenshot

Trying again, looks like the first attachement doesn't quite work, I can't click
on it somehow...

http://librarian.launchpad.net/1573415/svn-book.pdf
    * The PDF in question

Here is the PDF..."
Comment 1 Albert Astals Cid 2006-02-17 05:52:42 UTC
The pdf gives a http error, can you please attach it to the bug? 
Comment 2 Jeff Muizelaar 2006-02-17 06:46:04 UTC
This looks like a font substitution problem
Comment 3 Sebastien Bacher 2006-02-17 08:56:19 UTC
the URL works fine from here, what is your issue exactly?
Comment 4 Jeff Muizelaar 2006-02-17 09:06:57 UTC
launchpad was down when albert tried it
Comment 5 Jeff Muizelaar 2006-02-17 09:08:54 UTC
what version of poppler? and are you using the cairo backend?
Comment 6 Jeff Muizelaar 2006-02-17 09:16:30 UTC
It works fine for me. Can you try running poppler's pdffonts on the pdf with
this patch applied: http://people.freedesktop.org/~jrmuizel/pdffonts.patch
Comment 7 Sebastien Bacher 2006-02-17 09:44:06 UTC
Ubuntu uses evince and poppler 0.5 (with some of the CVS changes for
#4030,#5758) at the moment with splash

$ pdffonts svn-book.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
new name: Helvetica-Bold
Helvetica-Bold                       Type 1       no  no  no    3608  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
new name: Courier-Oblique
Courier-Oblique                      Type 1       no  no  no    3607  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf
new name: Helvetica
Helvetica                            Type 1       no  no  no    3609  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
new name: Courier
Courier                              Type 1       no  no  no    3610  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf
new name: Times-Bold
Times-Bold                           Type 1       no  no  no    3611  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf
new name: Times-Italic
Times-Italic                         Type 1       no  no  no    3612  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf
new name: Times-Roman
Times-Roman                          Type 1       no  no  no    3613  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf
new name: Courier-Bold
Courier-Bold                         Type 1       no  no  no    3614  0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
Comment 8 Albert Astals Cid 2006-02-17 09:51:04 UTC
What does 
fc-match Helvetica-Bold  
returns in your computer? 
Comment 9 Sebastien Bacher 2006-02-17 09:53:46 UTC
Without "ttf-bitstream-vera ttf-dejavu" installed the pdf is fine

$ fc-match Helvetica-Bold
helvR12.pcf.gz: "Helvetica" "Regular"
Comment 10 Albert Astals Cid 2006-02-19 05:09:34 UTC
Closing the bug because what we do is as fontconfig what font is better to  
handle   
  
Helvetica Bold  
  
and in [K]Ubuntu it answers  
  
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf  
/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf  
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf  
/usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf  
/usr/share/fonts/type1/gsfonts/n019004l.pfb  
/usr/share/fonts/type1/gsfonts/n019044l.pfb  
/usr/share/fonts/type1/gsfonts/n019003l.pfb  
..... lots more of fonts .....  
  
If you want to get the "nice" n019004l.pfb that is really Helvetica Bold you  
have to bug Ubuntu packagers to get the "correct" fontconfig configuration.  
  
That is also why when removing those packages you get what you think it is 
"correct" rendering 
  
  


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.