Creating Type 1 Fonts from metafont Sources

  • Karel Píška
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3130)


This paper summarizes experiences in converting metafont fonts to PostScript fonts with TeXtrace and mftrace, based on programs of autotracing bitmaps (autotrace and potrace), and with systems using analytic conversion (MetaFog and MetaType1, using metapost output or metapost itself). A development process is demonstrated with public Indic fonts (Devanagari, Malayalam). Examples from the Computer Modern fonts have been also included to illustrate common problems of conversion. Features, advantages and disadvantages of various techniques are discussed. Postprocessing – corrections, optimization and (auto)hinting – or even preprocessing may be necessary, before even a primary contour approximation is achieved. To do fully automatic conversion of a perfect metafont glyph definition into perfect Type 1 outline curves is very difficult at best, perhaps impossible.


font conversion bitmap fonts metafont metapost outline fonts PostScript Type 1 fonts approximation Bézier curves 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Adobe Systems Inc. Adobe Type 1 Font Format. Addison-Wesley (1990)Google Scholar
  2. 2.
    Aho, A.V., Kernighan, B.W., Weinberger, P.J.: The AWK Programming Language. Addison-Wesley, Reading (1988)zbMATHGoogle Scholar
  3. 3.
    Berry, K.: Making outline fonts from bitmap images. TUGboat 22(4), 281–285 (2001)Google Scholar
  4. 4.
    Free Software Foundation. GNU awk,
  5. 5.
    Hellingman, J.: Malayalam fonts, CTAN:language/malayalamGoogle Scholar
  6. 6.
    Hobby, J.D.: A User’s Manual for METAPOST. AT&T Bell Laboratories, Computing Science Technical Report 162 (1994)Google Scholar
  7. 7.
    Hoekwater, T.: Generating Type 1 Fonts from METAFONT Sources. TUGboat 19(3), 256–266 (1998)Google Scholar
  8. 8.
    Jackowski, B., Nowacki, J.M., Strzelczyk, P.: MetaType1: A METAPOST- based Engine for Generating Type 1 Fonts. In: Proceedings of the XII EuroTEX 2001 conference, Kerkrade, The Netherlands, September 23-27, pp. 111–119 (2001)Google Scholar
  9. 9.
    Jackowski, B., Nowacki, J.M., Strzelczyk, P.: Programming Post- Script Type 1 Fonts Using MetaType1: Auditing, Enhancing, Creating. In: Preprints of the XIV EuroTEX 2003 conference, Brest, France, June 24-27, pp. 151–157 (2003) (to appear in TUGBoat)Google Scholar
  10. 10.
  11. 11.
    Kinch, R.J.: MetaFog: Converting METAFONT Shapes to Contours. TUGboat 16(3), 233–243 (1995)Google Scholar
  12. 12.
    Knuth, D.E.: The METAFONTbook. Computers and Typesetting, vol. C. Addison-Wesley, Reading (1986)zbMATHGoogle Scholar
  13. 13.
    Kohler, E.: t1utils (Type 1 tools),
  14. 14.
    Malyshev, B.K.: Problems of the conversion of METAFONT fonts to PostScript Type 1. TUGboat 16(1), 60–68 (1995)Google Scholar
  15. 15.
    Nienhuys, H.-W.: mftrace,
  16. 16.
    Píška, K.: A conversion of public Indic fonts from METAFONT into Type 1 format with TEXtrace. TUGboat 23(1), 70–73 (2002)Google Scholar
  17. 17.
    Selinger, P.: potrace,
  18. 18.
    Szabó, P.: Conversion of TEX fonts into Type 1 format. In: Proceedings of the XII EuroTEX 2001 conference, pp. 192–206, Kerkrade, the Netherlands, September 23-27 (2001),,
  19. 19.
    Velthuis, F.J.: Devanagari fonts, CTAN:language/devanagariGoogle Scholar
  20. 20.
    Volovich, V.: CM-super fonts: CTAN:fonts/ps-type1/cm-superGoogle Scholar
  21. 21.
    Weber, M.: AutoTrace,
  22. 22.
    Williams, G.: FontForge: A PostScript Font Editor,

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • Karel Píška
    • 1
  1. 1.Institute of PhysicsAcademy of SciencesPragueCzech Republic

Personalised recommendations