Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472520

Summary: =media-libs/fontconfig-infinality-20130404 - Disabling Type1 fonts causes problems when printing.
Product: Gentoo Linux Reporter: shad0VV <ganastasiouGR>
Component: [OLD] LibraryAssignee: Ben de Groot (RETIRED) <yngwin>
Severity: normal CC: dabbott, fonts, ganastasiouGR
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description shad0VV 2013-06-06 18:46:42 UTC
I have the following problem, whenever i use cups for printing or ps2pdf, i get errors from ghostscript.
This happens because default infinality.conf disables type1 fonts

Reproducible: Always

Steps to Reproduce:
1.Use USE flag infinality in freetype
2.Try to print with cups or convert a ps file to pdf(ps2pdf), then you have error
3.Edit infinality.conf and comment the lines which disable type1 fonts, and printing or ps convertion works.
Actual Results:  
ps2pdf cdemu.pdf 
Error: /invalidfont in /findfont 
Operand stack: 
   Times-Italic@0   --nostringval--   Times-Italic 
Execution stack: 
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1836   3   4   %oparray_pop 
Dictionary stack: 
   --dict:1169/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   --dict:59/120(L)-- 
Current allocation mode is local 
Last OS error: No such file or directory 
Current file position is 5696 
GPL Ghostscript 9.06: Unrecoverable error, exit code 1
Comment 1 shad0VV 2013-06-06 18:47:20 UTC
Created attachment 350300 [details]
emerge --info
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2013-07-01 07:13:57 UTC
From the README:

"If you run into trouble with applications not being able to find Type-1 fonts, then comment out the relevant lines in /etc/fonts/infinality/infinality.conf"

If you want to suggest a better solution, please add it to bug 436500

*** This bug has been marked as a duplicate of bug 436500 ***