| Summary: | Drawing strings with fontset in missing charsets | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | will | ||||
| Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> | ||||
| Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | normal | ||||||
| Priority: | medium | CC: | will | ||||
| Version: | 7.7 (2012.06) | ||||||
| Hardware: | x86-64 (AMD64) | ||||||
| OS: | Linux (All) | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
will
2016-08-09 01:09:51 UTC
Created attachment 125912 [details] [review] libX11 1.6.3 patch showing proposed solution With this patch I update the list of preferred encodings to include only those present in a font set. This means that we first try encodings that our font set is aware of. Before the font set was not taken into account which could lead to trying to draw text encoded in a charset that the font set does not contain. We do still try the other encodings as before, but only after (as there is logic elsewhere to try all encodings if the preferred encodings do not match). I don't expect the patch is acceptable as is but I wanted to try a proof of concept of a solution. Probably there is a better way to do this. My patch is against libX11 1.6.3 as I was not able to get the git version working in my environment. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/51. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.