{"id":11615,"date":"2015-07-05T16:00:26","date_gmt":"2015-07-05T20:00:26","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11615"},"modified":"2015-07-05T16:02:30","modified_gmt":"2015-07-05T20:02:30","slug":"installing-fonts-on-ios","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/07\/05\/installing-fonts-on-ios\/","title":{"rendered":"Installing Fonts on iOS"},"content":{"rendered":"<p><a href=\"http:\/\/norbertlindenberg.com\/2015\/06\/installing-fonts-on-ios\/\">Norbert Lindenberg<\/a>:<\/p>\n<blockquote cite=\"http:\/\/norbertlindenberg.com\/2015\/06\/installing-fonts-on-ios\/\">\n<p>iOS comes with a selection of fonts that cover the major writing systems of the world. Some apps, however, need to install additional fonts for system-wide use. [&#8230;] This article describes how such apps can package and install fonts, based on my experience bundling the Ubud font with the <a href=\"http:\/\/lindenbergsoftware.com\/balinese\">Balinese Font and Keyboard<\/a> app. Note that this is about system-wide use &#8211; if you need to bundle a font just for use within your own app, Chris Ching has a <a href=\"http:\/\/codewithchris.com\/common-mistakes-with-adding-custom-fonts-to-your-ios-app\/\">tutorial<\/a> for that.<\/p>\n<p>[&#8230;]<\/p>\n<p>For some parts of the Unicode character set WebKit now looks for fallback fonts, for other parts it doesn&rsquo;t (Balinese was one of the lucky scripts). Recent code changes in WebKit indicate that this will finally be completely fixed in iOS 9.<\/p>\n<p>[&#8230;]<\/p>\n<p>While support for third-party keyboards was highlighted as a new feature in iOS 8, support for third-party fonts received much less attention. This is probably because the support that exists was primarily targeted at enterprise customers: Fonts for use across apps are packaged in <a href=\"https:\/\/developer.apple.com\/library\/ios\/featuredarticles\/iPhoneConfigurationProfileRef\/Introduction\/Introduction.html\">configuration profiles<\/a>, which otherwise serve to configure virtual private networks, disable games and unsafe web sites, locate network printers, and do other things that matter in corporate environments.<\/p>\n<p>[&#8230;]<\/p>\n<p>[Apple] Configurator creates and uses a self-signed certificate, which iOS doesn&rsquo;t trust, so you get the same number of warnings, just saying &ldquo;Not Verified&rdquo; instead of &ldquo;Not Signed&rdquo;. [&#8230;]  I ended up buying a COMODO code signing certificate from KSoftware, which cost US$95 and quite some time because their support for Macs is a bit flaky.<\/p>\n<p>[&#8230;]<\/p>\n<p>Installed fonts do not get updated automatically. When the user installs a new version of your app that includes a new version of the font, you likely have to remind the user to re-install the font.<\/p>\n<\/blockquote>\n<p>So I guess <a href=\"https:\/\/en.wikipedia.org\/wiki\/Desk_accessory\">Font\/DA Mover<\/a> is no longer the hard way to install fonts.<\/p>","protected":false},"excerpt":{"rendered":"<p>Norbert Lindenberg: iOS comes with a selection of fonts that cover the major writing systems of the world. Some apps, however, need to install additional fonts for system-wide use. [&#8230;] This article describes how such apps can package and install fonts, based on my experience bundling the Ubud font with the Balinese Font and Keyboard [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[466,133,31,904,1137,258,328],"class_list":["post-11615","post","type-post","status-publish","format-standard","hentry","category-technology","tag-codesigning","tag-font","tag-ios","tag-ios-8","tag-ios-9","tag-unicode","tag-webkit"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=11615"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11615\/revisions"}],"predecessor-version":[{"id":11617,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11615\/revisions\/11617"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}