Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a simple question, I would like to produce some latex document which has all its fonts rendered in vector graphic form, no embedded fonts, is this possible and how can I achieve this by using the standard latex build chain?

Do I need to use dvi2ps or ps2pdf? And what are the properties to set there?

share|improve this question
    
What do you mean by vector graphics form? That will require the fonts anyways. Are you having problems with bitmapped fonts? –  daleif Aug 26 '11 at 13:29
1  
@daleif: He wants to convert glyphs to vector paths which would be then included just as any other vector images. A font would then be required only at compile time, not at rendering time. –  Andrey Vihrov Aug 26 '11 at 13:43
5  
If you are doing this in order to prevent text copying, better do not. It will still be possible to OCR the document, while it will prevent normal users from using text search and will drop any hinting or other special font information. –  Andrey Vihrov Aug 26 '11 at 13:45

1 Answer 1

up vote 6 down vote accepted

You can add the following ghostscript call to your processing chain:

gs -sDEVICE=pswrite -sOutputFile=- -q -dNOPAUSE With-Fonts.pdf
   -c quit | ps2pdf - > No-Fonts.pdf

EDIT: This doesn't quite work, however. (it produces bitmap fonts (pixel stuff)):

But the following command does seem to to work:

gs -sDEVICE=pswrite -sOutputFile=- -q -dNOPAUSE -dNOCACHE With-Fonts.pdf
   -c quit | ps2pdf - > No-Fonts.pdf

credit goes to: Remove embedded fonts from a pdf.

share|improve this answer
    
@AlanMunn Thanks for fixing my answer :-) –  kongo09 Aug 30 '11 at 18:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.