Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a family of functions for opening fonts for non-square displays
FreeType natively supports font rendering for displays with non square pixels. This commit adds the following 4 functions: TTF_OpenFontDPI TTF_OpenFontDPIRW TTF_OpenFontIndexDPI TTF_OpenFontIndexDPIRW They are equivalent to the functions without the DPI suffix but accept 2 additional arguments, horizontal and vertical DPI resolution respectively.
- Loading branch information
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters