[MacPorts] #19383: xpdf is not working under 10.4.11

Soo-Hyun Choi s.choi at hackers.org.uk
Fri Jun 26 07:01:39 PDT 2009


Although this ticket was opened a long time ago, I would like to point out my
solution for those who will experience more or less similar problem to this
- I have come to here through Google search.

Basically, this font rendering error comes with a wrong font pointer in your
"xpdfrc" file. 

If you open the file with a text editor (e.g., "vim /opt/local/etc/xpdfrc"),
you will see lots of "displayFontT1" and its location. The locations of
those font files may differ from system to system. In my case (Mac OS X
10.5.7 and Darwin port 1.7.1, and xpdf version 3.02 Revision 5), the font
locations are as follows:

displayFontT1 Times-Roman   /opt/local/share/fonts/urw-fonts/n021003l.pfb
displayFontT1 Times-Italic  /opt/local/share/fonts/urw-fonts/n021023l.pfb
displayFontT1 Times-Bold   
/opt/local/share/fonts/urw-fonts/n021004l.pfbdisplayFontT1 Times-BoldItalic 
/opt/local/share/fonts/urw-fonts/n021024l.pfb
displayFontT1 Helvetica     /opt/local/share/fonts/urw-fonts/n019003l.pfb
displayFontT1 Helvetica-Oblique
/opt/local/share/fonts/urw-fonts/n019023l.pfbdisplayFontT1 Helvetica-Bold   
/opt/local/share/fonts/urw-fonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique
/opt/local/share/fonts/urw-fonts/n019024l.pfb
displayFontT1 Courier          
/opt/local/share/fonts/urw-fonts/n022003l.pfbdisplayFontT1 Courier-Oblique  
/opt/local/share/fonts/urw-fonts/n022023l.pfb
displayFontT1 Courier-Bold     
/opt/local/share/fonts/urw-fonts/n022004l.pfb
displayFontT1 Courier-BoldOblique  
/opt/local/share/fonts/urw-fonts/n022024l.pfb
displayFontT1 Symbol        /opt/local/share/fonts/urw-fonts/s050000l.pfb
displayFontT1 ZapfDingbats  /opt/local/share/fonts/urw-fonts/d050000l.pfb


If you can get it right, then xpdf will not complain about displaying those
fonts. Hope this helps.

Finally, this is also explained at the original xpdf homepage -
http://www.foolabs.com/xpdf/problems.html .

Cheers,
Soo-Hyun




MacPorts wrote:
> 
> #19383: xpdf is not working under 10.4.11
> --------------------------------------------+-------------------------------
>  Reporter:  Martin.Buchmann@…               |       Owner: 
> macports-tickets@…                   
>      Type:  defect                          |      Status:  new                                  
>  Priority:  Normal                          |   Milestone:  Port Bugs                            
> Component:  ports                           |     Version:  1.7.1                                
>  Keywords:                                  |        Port:  xpdf                                 
> --------------------------------------------+-------------------------------
>  Hi,
> 
>  since a few weeks I only get this error if I try to invoke xpdf
> 
>  {{{
>  Error: No paper information available - using defaults
>  Error: No display font for 'Courier'
>  Error: No display font for 'Courier-Bold'
>  Error: No display font for 'Courier-BoldOblique'
>  Error: No display font for 'Courier-Oblique'
>  Error: No display font for 'Helvetica'
>  Error: No display font for 'Helvetica-Bold'
>  Error: No display font for 'Helvetica-BoldOblique'
>  Error: No display font for 'Helvetica-Oblique'
>  Error: No display font for 'Symbol'
>  Error: No display font for 'Times-Bold'
>  Error: No display font for 'Times-BoldItalic'
>  Error: No display font for 'Times-Italic'
>  Error: No display font for 'Times-Roman'
>  Error: No display font for 'ZapfDingbats'
>  Warning: Widget must be a VendorShell.
>  Error: attempt to add non-widget child "dsm" to parent "xpdf" which
>  supports only widgets
>  }}}
> 
>  I reinstalled openmotif, poppler and xpdf without any change.
> 
>  I have not found anything in the others tickets. It used to work and I am
>  not aware of any change, unfortunately.
> 
>  Any hints?
>    Martin
> 
> -- 
> Ticket URL: <http://trac.macports.org/ticket/19383>
> MacPorts <http://www.macports.org/>
> Ports system for Mac OS
> _______________________________________________
> macports-tickets mailing list
> macports-tickets at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets
> 
> 

-- 
View this message in context: http://www.nabble.com/-MacPorts---19383%3A-xpdf-is-not-working-under-10.4.11-tp23150533p24220847.html
Sent from the MacPorts - Tickets mailing list archive at Nabble.com.



More information about the macports-tickets mailing list