Skip to main content
Log in

Rendering high-quality PK bitmap font in Linux environment

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

METAFONT is a parameterized font that can generate different font styles by changing its parameters. It generates bitmaps fonts (Generic Font and TeX Font Metric) that are commonly used in TeX-based environment. The bitmap fonts generated from METAFONT can be utilized in devices of any size or resolution without creating a new font file for each. However, these fonts cannot be used outside the TeX environment. In our previous work, we proposed a module that supports METAFONT, GF, and PK fonts inside a Linux environment. The tracing approach we used in our previous work had some shortfalls. First, the module that converts glyph data into vector information requires much memory for individual glyph conversion, which downgrades the performance of the whole process. Secondly, our previous work is mainly compatible with high-resolution fonts; therefore, when a low-resolution font is rendered based on our previous work, it often generates blurry and broken output. To overcome this performance and quality issue of our previous work, we propose a module with a new tracing approach that not only improves the performance of our previous method but can generate high-quality output for both high and low resolutions inputs. Our qualitative and quantitative results demonstrate the dominance of our new proposed approach.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  1. Song, S.: Development of Korea Typography Industry Appreciating Korean Language. Springer, New York (2013)

    Google Scholar 

  2. Park, Y.: Current status of Hangul in the 21st century [in Korean]. (The T)Type and Typography magazine, vol. 7, (August 2012)

  3. Knuth, Donald E.: Computers and Typesetting, Volume C: The METAFONT book. Addison - Wesley, Boston (1986)

    Google Scholar 

  4. Web2c: A TEX implementation (1987–2019)

  5. Geoffrey TOBIN, METAFONT for Beginners, Third Draft, Revision ‘W4’ (1994)

  6. The GFtoDVI processor: Version 3.0 (October 1989)

  7. Fonts: Generic font file format. TUGboat, vol. 6(1) (1985)

  8. Rokicki, T.: Software: Packed (PK) Font File Format, TUGBoat (1985)

  9. Turner, D., Wilhelm, R., Lemberg, W.: The FreeType Project (1996)

  10. Choi, J., Majeed, S., Hassan, A., Jeong, G.: FreeType MF Module2: Integration of METAFONT, GF, and PK inside FreeType. TUGboat, vol. 40(2) (2019)

  11. Kakugawa, H., Nishikimi, M., Takahashi, N., Tomura, S., Handa, K.: A general purpose font module for multilingual application programs. Softw. Pract. Exp. 31(15), 1487–1508 (2001)

    Article  Google Scholar 

  12. Menzner, R.: T1lib—A Library for Generating Character Bitmaps from Adobe Type 1 Fonts, Version 1.3 (2001)

  13. D-Type Font Engine, D-Type Solutions (1996–2019)

  14. Choi, J., Kim, S., Lee, H., Jeong, G.: MFCONFIG: A METAFONT plug-in module for FreeType rasterizer. TUGboat 37(2), 163–170 (2016)

    Google Scholar 

  15. Packard, K.: Fontconfig, Gnome Users And Developer European Conference (2002)

  16. Packard, K.: The Xft Font Library: Architecture and Users Guide, XFree86 Technical Conference (2001)

  17. Hassan, A.U., Choi, J., Jeong, G.: A Module for Converting METAFONT into Outline Font, MF Integrator (2018)

  18. Nienhuys, H.-W.: mftrace—Scalable Fonts for METAFONT (2017)

  19. Píška, K.: Creating Type 1 fonts from METAFONT sources: Comparison of tools, techniques and results. Preprints for the 2004 Annual TUG Meeting

  20. Selinger, P.: Potrace: a polygon-based tracing algorithm (2003)

  21. Choi, J., Hassan, A., Jeong, G.: FreeType_MF_Module: a module for using METAFONT directly inside the FreeType rasterizer. TUGBoat 39(2), 163–170 (2018)

    Google Scholar 

Download references

Acknowledgements

This work was supported by an Institute of Information & Communications Technology Planning and Evaluation (IITP) Grant funded by the Korea government (MSIP) (No. 2016-0-00166, Technology Development Project for Information, Communication, and Broadcast).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jaeyoung Choi.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Majeed, S., Hassan, A.U. & Choi, J. Rendering high-quality PK bitmap font in Linux environment. Cluster Comput 24, 559–568 (2021). https://doi.org/10.1007/s10586-020-03132-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-020-03132-z

Keywords

Navigation