Font types of placeholder and content don't match
Closed this issue · 4 comments
Tried Hoshi. Font set to "System" in Interface Builder. Content indeed seems to match the System Font but the Placeholder text clearly isn't. Didn't find a way to fix that.
I am getting this error:
2020-03-09 10:59:32.039959+0100 CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].
2020-03-09 10:59:32.040177+0100 CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2020-03-09 10:59:32.041455+0100 CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].
I am also experiencing this same issue and I get the same error as @TheNosplay. I tried to edit
private func placeholderFontFromFont(_ font: UIFont) -> UIFont!
Still getting this error.
Fixed by manually implementing #191 - see the changes in files. It seems the pod trunk has not been updated with the latest PR's.
This issue should be closed since the fix is already merged into master. A new release and subsequent updates to the dependency managers is necessary.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 3 days if no further activity occurs.