Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Fix option fallback to main font for mod-fonts when setting options #3054

Merged
merged 1 commit into from
May 13, 2017

Conversation

wimrijnders
Copy link
Contributor

This is a fix for #3047.

In Label.getFormattingValues(), values for the font options are collected. The issue here is that when an option is missing for a mod-font, the value is not retrieved from the main font. This would be the expected behavior according to the documentation.

This PR adds the fallback to a main font option value.

@yotamberk yotamberk merged commit 29e696a into almende:develop May 13, 2017
@wimrijnders wimrijnders deleted the Issue3047 branch May 14, 2017 05:25
@mojoaxel mojoaxel added this to the Minor Release v4.20 milestone May 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants