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.

This is related to Herbert's comment in answer for Which one is recommended to get cropped PDF and EPS graphics?.

He said I can use dvips -h hv______.pfb input.dvi to embed font to the resulting PS file. But I don't know which font file corresponds to the font used by PSTricks grid labels.

I have a list of font files with names begin with h as follows, but I don't know which one I must use. :-)

enter image description here

Question: What is the file name of Helvetica font used by PSTricks grid labels?

Note: I am using Windows 7 with TeX Live 2010 installed and my workflow is latex->dvips->ps2pdf. You may need this info.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

The Helvetica font is just one of the 35 predefined fonts. You can probably get through by saying

\psset[pstricks]{gridfont=NimbusSanL-Regu}

in your file and then run dvips with the option

-h uhvr8a.pfb

that will load the URW clone of Helvetica which is provided in TeX Live.

share|improve this answer
add comment

\psset{gridfont=helvetica} should work without the additional header using for dvips. I have these fonts in my example pdf:

voss@shania:~/Documents> pdffonts latex6.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
SVYBYQ+helvetica                     Type 1C           yes yes no       8  0
AQAEUC+CMR10                         Type 1C           yes yes no      11  0
share|improve this answer
    
That's kind of magic, isn't it? –  egreg Jul 7 '11 at 13:27
    
In my machine, it does not work. –  xport Jul 7 '11 at 13:45
    
then it is a "problem" :-) with my configuration. However, the URW fonts should be embedded by default with a standard TeXLive installation –  Herbert Jul 7 '11 at 14:04
    
The combination of \psset[pstricks]{gridfont=...} and ps2pdf -dPDFSETTINGS#/prepress %1.ps is the best solution to embed font to the PDF. No need to explicity use header switch as in dvips -h hv______.pfb input.dvi. –  xport Jul 7 '11 at 14:40
add comment

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.