[Pkg-cups-devel] Bug#670055: cups-filters: Printing a text file fails when Liberation is the only TrueType font available

Brian Potkin claremont102 at gmail.com
Thu Apr 26 12:47:39 UTC 2012


On Thu 26 Apr 2012 at 13:23:12 +0200, Fabian Greffrath wrote:

> I have reproduced your steps and... ended up with an actual file in  
> /tmp/printout which has the LiberationMono font embedded:

It's at times like this I begin to wonder what I have failed to do
correctly. :)

> Could you please get the sources for cups-filters ("sudo apt-get  
> build-dep cups-filters; apt-get source cups-filters"), apply the  
> attached patch ("quilt import /path/to/patch; quilt push") , rebuild the 
> package ("debuild -us -uc") and then install the resulting cups-filters 
> package ("sudo dpkg -i ../cups-filters_1.0.16-2_i386.deb")?
>
> Then please try again and tell us the lines in /var/log/cups/error_log  
> that contain "###".

Not something I usually do, but your instructions helped considerably.
Thanks.

Here is the relevant extract from the error_log:

I [26/Apr/2012:13:33:06 +0100] [Job 13] Started filter /usr/lib/cups/filter/texttopdf (PID 14041)
I [26/Apr/2012:13:33:06 +0100] [Job 13] Started filter /usr/lib/cups/filter/pdftopdf (PID 14042)
D [26/Apr/2012:13:33:06 +0100] Discarding unused job-state-changed event...
D [26/Apr/2012:13:33:06 +0100] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/test) from localhost
D [26/Apr/2012:13:33:06 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [26/Apr/2012:13:33:06 +0100] cupsdReadClient: 16 WAITING Closing on EOF
D [26/Apr/2012:13:33:06 +0100] cupsdCloseClient: 16
D [26/Apr/2012:13:33:06 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [26/Apr/2012:13:33:06 +0100] [Job 13] Page = 612x792; 18,36 to 594,756
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/n022024l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/n022003l.pfb:Type 1:100
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/d050000l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/s050000l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSansNarrow-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] No viable font found
W [26/Apr/2012:13:33:06 +0100] [Job 13] Ignored bad font "FreeMono"
D [26/Apr/2012:13:33:06 +0100] [Job 13] Set job-printer-state-message to "Ignored bad font "FreeMono"", current level=WARN
D [26/Apr/2012:13:33:06 +0100] Discarding unused job-progress event...
D [26/Apr/2012:13:33:06 +0100] Discarding unused printer-state-changed event...
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/n022024l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/n022003l.pfb:Type 1:100
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/d050000l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/X11/Type1/s050000l.pfb:Type 1:
D [26/Apr/2012:13:33:06 +0100] [Job 13] ### Candidate: /usr/share/fonts/truetype/liberation/LiberationSansNarrow-Regular.ttf:TrueType:
D [26/Apr/2012:13:33:06 +0100] [Job 13] No viable font found
W [26/Apr/2012:13:33:06 +0100] [Job 13] Ignored bad font "FreeMono"
E [26/Apr/2012:13:33:06 +0100] [Job 13] No usable font available
D [26/Apr/2012:13:33:06 +0100] [Job 13] Set job-printer-state-message to "No usable font available", current level=ERROR





More information about the Pkg-cups-devel mailing list