-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Xmoji: Fix font settings for tooltips
There was already a resource `tooltipFont` implemented, but not documented. For fallback, it uses the class name (`Font`), but this creates a problem because it was also used for the `emojiFont`, which should almost always be a different font. Therefore: * add a `classname` property to `FontOptions`, and use this in Widget_createFontResName(), so we can override the class name for the emoji font. * Use class `EmojiFont` when creating the emoji font in xmoji.c * Document the `tooltipFont` resource in README.md, together with an example using the `Font` resource. Fixes: #15
- Loading branch information
Showing
4 changed files
with
18 additions
and
6 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
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