Load fonts with illegal UTF-8 characters in family name

Bug #1694326 reported by Patrick Storz on 2017-05-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

To prevent Inkscape from crashing loading of fonts that contain illegal UTF-8 characters in their family name was disabled in
(see bug #1495386 and bug #1508928 for the original reports)

This obviously prevents users from using such fonts. However with some changes to the way Inkscape handles font names internally we might be able to use them while still avoiding crashes.

As invalid UTF-8 characters should probably not be contained in family names in the first place and this should only happen in some rare cases it probably is not a high priority though.

That being said Pango should handle invalid UTF-8 just fine according to Behdad Esfahbod (see mailing list thread for more information [1]).

[1] https://mail.gnome.org/archives/gtk-i18n-list/2017-May/msg00000.html

Patrick Storz (ede123) on 2017-05-29
summary: - Load fonts with illegal UTF-8 characters i family name
+ Load fonts with illegal UTF-8 characters in family name
tags: added: fonts
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers