On 04/12/2018 03:08 AM, Gary Stainburn wrote:
> The PDF contains:
> 
> ERROR: invalidfileaccess
> OFFENDING COMMAND: .findfont
> OPERAND STACK:
> r
> /usr/share/X11/fonts/Type1/UTBI____.pfa
> --nostringval--
> true
> NimbusMonL-Regu
> Courier
> --nostringval--
> Courier
> 4544317
> Courier
> Font
> Courier
It seems that .findfont can't find a font file that the PS file is
asking for. Is it possible that your Windows 10 is printing using some
new fonts that your CentOS doesn't have?

I'd try:
1. Use ps2ascii instead of ps2pdf+pdftotext.

2. Copy all font files from Windows 10 to your CentOS. Maybe put them in
~/.fonts and see if that could make ps2pdf happy.

Just my shot in the dark.

-- 
Yan Li
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to