My app uses papyrus font.
In the iPad simulator it works perfectly. In both of the iPhone simulators (standard and retina) it doesn't seem to have this font. It just uses a stock system font.
I have just tested on both an iPhone and an iPad, and the results identical to the simulator.
What is the deal here? is there any workaround? Can I package this font with the app? If so, how?
As a related issue, this papyrus font refuses to display unusual characters. I require for example ∫ and ŋ. These get displayed in a stock system font. I guess the font doesn't have symbols for extended Unicode characters... what is my best bet?
The iPhone and iPad ship with different sets of fonts, which is a bit strange. If you want to bundle this font with your app, you will need to obtain a licence to do so from one of the foundries that distribute it.
As for other characters, you're correct---the Papyrus font only supports characters used in European languages. If you don't like the system's default fall-back font, you will need to supply another.
Related
In my app I need to support iOS since iOS 7. As you know iOS 9 uses new system font "San-Francisco".
Is it possible some how to use system font (to make native font for operation system) with setting size and attributes like Light, Medium, Bold, Italic, etc?
I found only one solution to hard code font name as for iOS 9 use "San-Francisco" and for less use "HelveticaNueue".
Maybe some one know a better solution.
My iPhone is set to English, but my app is localized to several languages. When the app is internally switched to Japanese, the font rendered as "system" is cute, but not professional-looking.
From what I can tell from iosfonts.com, the font selected may be Heiti TC.
How can I coerce my app to use, say, Hiragino Kaku, as the "system" font when localized to Japanese?
Here are my language settings on my hardware iPhone 5S:
In my settings I correctly have my preferred languages as
for testing. However, one user pointed out
Yes, unfortunately Apple decided to go "All-China" and now prefers Chinese fonts over Japanese ones.
Back on iOS 7, if a system font was missing glyphs, then iOS would chose a matching font for these missing glyphs based on the system language settings. In that list of preferred languages, Japanese was always before Chinese, so missing glyphs were taken from a Japanese font. With iOS 8, Apple reordered this list and so missing glyphs are now taken from a Chinese font.
Following the advice from this answer and this answer, I changed my system language to Japanese, then back to English. The order of my preferred languages is exactly the same as before, but now my phone is correctly using the Japanese font and not the Chinese font. I think this is a bug, but I hope this helps others.
I am trying to use a custom font called Hartland in my project. This font has two types: Hartland regular and Hartland bold.
On my iPhone 5s, the available font names are "HartlandRegular" and "HartlandLight"
But on my iPhone 4s the font names are "HartlandBold" and "HartlandRegular"
Even stranger, the font name "HartlandRegular" for one phone is the bold version on the other. To my knowledge I have successfully installed the fonts, but the names are inconsistent on different devices
Why are the fonts getting different names and how can I fix this?
I believe your issue actually has more to do with the latest iOS. You should be able to select the correct font using the interface builder - on older versions of xcode and iOS you used to have to set this with code.
I am developing an IOS application. I always use system fonts for UILabel. But they appear sometimes bold and sometimes italic on some IOS 7 devices. I added a screenshot. You can see some lines normal and some lines bold. But I've set the default system font on xib. What I'm doing wrong,
Thanks.
Did you check which are the settings for Vision in Accessibility in those devices? Are they the same?
*
As you may know, in iOS7 users are allowed to change some aspects in the system's font as size and weight.
To handle the proper notifications when users change this settings and manage your fonts properly, take a look to Text Styles programming guide.
*Image source: http://osxdaily.com/2013/09/20/ios-7-font-hard-to-read-fix/
My app uses the lovely Avenir font which is built in to iOS6 but not iOS5. How can I get it onto iOS5? I know I can fall back to a different font on iOS5 (eg just use System font) but I don't want to do that. Can I build the Avenir font into my app some how?
No and Yes, you could just supply the font with your app.
But you will need to buy a distribution license for the font, this will be very costly.
Your best option is to fall back to an other font on iOS5 or just not support iOS5.