You are not logged in.

#1 2012-07-04 21:31:38

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

pdf non-embedded font gets substituted on screen but not when printed

I have some pdf files that include some text with helvetica font. The font is not embedded, so both Evince and Okular correctly substitute the font with a matching one (arial). However, when I print the file, all helvetica texts are empty. I tried

    <alias>
      <family>Helvetica</family>
      <prefer>
         <family>Arial</family>
      </prefer>
   </alias>

in /etc/fonts/local.conf but it didn't help.
Can you help me? The problem occurs on two archlinux systems, one with xfce, the other with compiz-standalone.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#2 2012-07-04 21:48:27

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: pdf non-embedded font gets substituted on screen but not when printed

I think you need a ghostscript setting, rather than fontconfig.

Edit: Kinda similar thread.

Last edited by brebs (2012-07-04 21:53:43)

Offline

#3 2012-07-05 09:28:42

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: pdf non-embedded font gets substituted on screen but not when printed

brebs, thanks for the hint. I searched around, but found nothing so far. The forum tread you posted didn't help, I'm not using infinality, and evince does work correctly here. I searched for some documentation for font subtitution in ghostscript but have not found anything so far. Can you give me more hints?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#4 2012-07-05 11:54:00

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: pdf non-embedded font gets substituted on screen but not when printed

Another idea: how can I convert the pdf file into another one that has all the fonts embedded?

UPDATE: like this: http://www.athleticaid.com/yaquinapress … index.html

Last edited by SanskritFritz (2012-07-05 11:57:23)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#5 2012-07-05 13:29:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: pdf non-embedded font gets substituted on screen but not when printed

Try opening the pdf in libreoffice and export it to pdf.

edit: nope, please discard that. It doesn't work.

Of course you can try copying the text from those pdf files, pasting into libreoffice writer and then exporting as pdf.

edit 2: you may want to look at pdftops, too.

Last edited by x33a (2012-07-05 13:37:33)

Offline

#6 2012-07-06 11:33:36

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: pdf non-embedded font gets substituted on screen but not when printed

Ok, printing the file into the virtual pdf printer works as a workaround because this way all fonts get embedded. So with the immediate problem out of the way I can concentrate on ghostscript now. pdftops will be examined as well.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB