We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In iOS 13 I found that:
MGMushParser attributedStringFromMush:description font:font color:color];
would use a serif font for any bold text. I think this is down to changes in how to instantiate system fonts in iOS 13.
Of course it would be great if this was fixed, but in the mean time you can work around this by specifying bold fonts by hand:
[MGMushParser attributedStringFromMush:description font:font boldFont:boldFont italicFont:italicFont color:color paragraphStyle:paragraphStyle];
The text was updated successfully, but these errors were encountered:
Yep, other convenient constructors should provide system bold and italic font instead of nil font to parser.
I can submit a PR if the statement is doable.
Sorry, something went wrong.
No branches or pull requests
In iOS 13 I found that:
MGMushParser attributedStringFromMush:description font:font color:color];
would use a serif font for any bold text. I think this is down to changes in how to instantiate system fonts in iOS 13.
Of course it would be great if this was fixed, but in the mean time you can work around this by specifying bold fonts by hand:
[MGMushParser attributedStringFromMush:description font:font boldFont:boldFont italicFont:italicFont color:color paragraphStyle:paragraphStyle];
The text was updated successfully, but these errors were encountered: