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
When we use some fonts like "Roboto", the placeholder uses "Times new roman" font instead.
The problem is related to this code snippet
private func placeholderFontFromFont(_ font: UIFont) -> UIFont! { let smallerFont = UIFont(name: font.fontName, size: font.pointSize * placeholderFontScale) return smallerFont }
For "Roboto" Font, UIFont(name: font.fontName, size: font.pointSize) does not return the right expected Font.
UIFont(name: font.fontName, size: font.pointSize)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When we use some fonts like "Roboto", the placeholder uses "Times new roman" font instead.
The problem is related to this code snippet
For "Roboto" Font,
UIFont(name: font.fontName, size: font.pointSize)
does not return the right expected Font.The text was updated successfully, but these errors were encountered: