Skip to content

let freetype handle ISO-8859-1 mapping

r-c-f requested to merge r-c-f/fonttosfnt:88591-fix into master

https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_encoding indicates that ISO-8859-1 is automatically mapped to Unicode for BDF and PCF fonts -- trying to use FT_Select_Charmap() with FT_ENCODING_NONE leads to an error for such fonts.

Merge request reports