Click here to Skip to main content
15,887,356 members
Articles / Multimedia

Quality Losses (Related to Kerning) in Text Rendering for OpenGL with FreeType

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
17 Dec 2022CPOL3 min read 8K   5  
High-end quality in text rendering concerns not only the characters, but also the character spaces - and here FreeType is not quite up to date anymore: The kerning used by FreeType is not always available (especially with newer fonts).
During an in-depth look at text rendering for OpenGL with SFML, I came across by comparing my text output with the output of the same text in Firefox (102.5.0esr 64bit) that the underlying library FreeType provides the glyphs cleanly, but the text still looks different - because the kerning is missing. This circumstance will be examined in more detail here.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader Celonis SA
Germany Germany
I am currently the CEO of Symbioworld GmbH and as such responsible for personnel management, information security, data protection and certifications. Furthermore, as a senior programmer, I am responsible for the automatic layout engine, the simulation (Activity Based Costing), the automatic creation of Word/RTF reports and the data transformation in complex migration projects.

The main focus of my work as a programmer is the development of Microsoft Azure Services using C# and Visual Studio.

Privately, I am interested in C++ and Linux in addition to C#. I like the approach of open source software and like to support OSS with own contributions.

Comments and Discussions