Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QFontIconEngine: if we can't find the named glyph, try ligatures
Use QTextLayout to layout and shape the text, which will respect ligatures. Many icon fonts might not name their icons, but have a replacement ligature for the actual icon name replacing the text with the respective glyph. So if for the name of the icon we get a single glyph run with a single glyph in it, use that to render the icon. Pick-to: 6.9 Change-Id: If0e5c528c3ac4cccdbb7df5fb7fd32ca232f2a66 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
- Loading branch information