Subscribe

Type1 fonts instead of pk fonts

  1. 2008-05-14 10:03:41 PDT
    Hello,

    I'm desperately trying to make a PDF file with PS fonts instead of bitmap fonts. I've spent the day to Google this problem, and to search in this forum. I know it's likely to be a very common question, but I've found no complete answer, only small partial answers.

    So, to make it clear: I want to use the route LaTeX => DVI => PS => PDF because all my figures are in EPS.

    The general solution proposed on the net is to add the -Ppdf option to dvips. But this option produces gazillions of:
    *makepk: Specified BDPI (8000) doesn't match ljfour resolution (600).*
    And then :
    *Font ecrm1000 not found, characters will be left blank.*

    Why Type1 fonts are not the default when using dvips? And can anyone can give me a straight and simple solution?

    Many thanks,
    -Etienne
  2. 2008-05-15 03:30:31 PDT
    Hi,

    I finally gave up with MikTeX and used teTeX instead. Everything worked fine since the Type1 font packages are installed. (Here are the Ubuntu packages I installed: cm-super, lmodern).

    So it looks like either MikTeX is not shipped with Type 1 fonts (though the type1/ directory contains pfb files...), either the default behaviour of dvips is to avoid using Type 1 fonts... Which looks a bit strange to me. Is there a way to properly configure dvips to use these fonts (obviously, to configure it to find these fonts), and why isn't it the default in MikTeX?

    Cheers,
    -Etienne
  3. 2008-05-15 04:20:20 PDT
    dvips is not using type1 fonts because you don't have them installed. The fonts you are trying to use are not installed by default in a basic miktex because it is a huge package. So install the cm-super fonts, or use \usepackage{lmodern} in your document. (The lmodern fonts are a variant of the cm/ec-fonts, the package is much smaller.)

    Ulrike Fischer
  4. 2008-05-15 06:42:25 PDT
    Thank you very much for your answer, and sorry for my sarcastic mood...

    I tried to install the package cm-super, but I didn't managed to succeed. The download stops at 13 or 14 MB and says "Windows API error 1816: Not enough quota is available to process this command." I googled this but found nothing. However this could be related to the fact that I'm running in VirtualBox (though this never happened for any other package).

    Then I downloaded the MikTeX cm-super package by hand from the tex.ac.uk repository (63 MB .cab file) and tried to ask the MiKTeX Package Manager to do install it for me. But apparently, its not possible. Finally I tried to dezip the cab file in my MiKTeX tree, and refreshed FNDB and formats. But nothing happened. I finally launched initexmf --mkmaps by hand and finally it worked (without the -Ppdf option).

    I still think that even if the cm-super installation works correctly, all this is a bit misleading. I expected LaTeX to produce vector outputs, not bitmap output due to the fact that it produces PS/PDF files. I understand that this error is due to a lack of knowledge about the whole TeX/Dvips system. But I spent a whole day googling this without finding the answer.

    In addition, that's probably not worth to notice that the Ubuntu packages for these fonts is split in two packages: cm-super-minimal (5MB) and cm-super (25MB). I don't know, and I won't test, if the cm-super-minimal would have been enough for me. In any case, I note that the overall downloaded size is about 30MB... half the size of the MiKTeX package. Wouldn't be a good thing, if possible, to add a subset of these fonts to the default install? And to provide a warning message in dvips claiming that the cm-super package should be installed to enable Type 1 fonts. I would be glad providing any help doing this, though, as you can see, I'm not very familiar with the secrets of TeX/dvips font systems...

    Thanks again!
    -Etienne
  5. 2008-05-15 08:08:04 PDT
    To install cab (and other miktex packages) from your harddisk: Download the package and put it in a folder. Download also the two files (assuming that you have miktex 2.7.):

    miktex/tm/packages/miktex-zzdb2-2.7.tar.lzma
    miktex/tm/packages/miktex-zzdb1-2.7.tar.lzma

    Put them in the same folder. Then use the package manager and choose the folder as "local repository".

    And use google.groups to search in comp.text.tex.

    Ulrike Fischer

  6. 2008-05-15 08:20:36 PDT
    Okay, thanks.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.