MF Integrator: A Module for Converting METAFONT into Outline Font

  • Ammar Ul Hassan School of Computer Science and Engineering, Soongsil University, South Korea
  • Jaeyoung Choi School of Computer Science and Engineering, Soongsil University, South Korea
  • Geunho Jeong
Keywords: metafont, freetype, fontconfig, font processing


METAFONT is a description language that generates TeX-oriented bitmap fonts which are not popular outside the TeX world. The number of fonts prepared with METAFONT are very small compared with outline fonts. Font libraries like FreeType, which are used to render fonts in outline and some bitmap formats doesn’t provide any support for METAFONT. A research, MFCONFIG module added an indirect support of METAFONT inside FreeType rasterizer but it has problems of performance and dependency. In this paper, we have proposed a module named MF Integrator for FreeType rasterizer. The proposed module overcome the problems of performance and dependency of MFCONFIG module. Authors tested proposed module with a client application which is used to display styled text on screen. Users can now take the benefits of METAFONT by using our proposed MF Integrator module.


D. E. Knuth, Computers & typesetting volume c: the metafont book, 1st ed. Boston: Addison-Wesley Professional, 1986.

“The GFtoPK processor,”, January 06, 2014.

D. Turner, R. Wilhelm, and W. Lemberg, “Freetype”,, 2000.

J. Y. Choi, S. M. Kim, H. J. Lee, and G. H. Jung, “MFCONFIG: a METAFONT plug-in module for FreeType rasterizer,” TUGBoat, vol. 37, no. 2, pp. 163-170, 2016.

Keith Packard, “Font configuration and customization for ppen source systems”,

K. Packard, “The Xft Font Library: Architecture and Users Guide,” Proc. the XFree86 Technical Conference, USENIX Press, November 2001, pp. 1-17.