{"id":29,"date":"2010-04-24T15:33:52","date_gmt":"2010-04-24T23:33:52","guid":{"rendered":"http:\/\/bynomial.com\/blog\/?p=29"},"modified":"2010-04-24T15:34:55","modified_gmt":"2010-04-24T23:34:55","slug":"ipad-fonts","status":"publish","type":"post","link":"http:\/\/bynomial.com\/blog\/?p=29","title":{"rendered":"iPad fonts"},"content":{"rendered":"<p>Below is a graphic listing all the fonts supported by default on the iPad. \u00c2\u00a0It&#8217;s a rather tall graphic, so I&#8217;ll keep the rest of this short post above it.<\/p>\n<p>Here&#8217;s the main chunk of code used to generate these images:<\/p>\n<p><a href=\"http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/ListFonts-code.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-30\" title=\"ListFonts code\" src=\"http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/ListFonts-code.png\" alt=\"\" width=\"793\" height=\"358\" srcset=\"http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/ListFonts-code.png 793w, http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/ListFonts-code-300x135.png 300w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/a><\/p>\n<p>This is the only method you need to override in your own<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">UIViewController<\/div><\/div>\n<p>in order to get a scrollable view of all the fonts available on your device &#8211; this code works on all iPhone OS devices (so, yes, iPads, iPhones, and iPod touches so far). \u00c2\u00a0Many thanks to Dr. Touch for <a href=\"http:\/\/www.drobnik.com\/touch\/2010\/02\/understanding-uifont\/\">this great post on <\/a><\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&lt;a href=&quot;http:\/\/www.drobnik.com\/touch\/2010\/02\/understanding-uifont\/&quot;&gt;UIFont&lt;\/a&gt;<\/div><\/div>\n<p>that helped me become less of a font newb (for example, the<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">leading<\/div><\/div>\n<p>property of a font is basically the line height, in pixels, of a single line of text).<\/p>\n<p>Happy coding!<\/p>\n<p><a href=\"http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/iPad_fonts.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-31\" title=\"iPad_fonts\" src=\"http:\/\/bynomial.com\/blog\/wp-content\/uploads\/2010\/04\/iPad_fonts.png\" alt=\"\" width=\"460\" height=\"4559\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below is a graphic listing all the fonts supported by default on the iPad. \u00c2\u00a0It&#8217;s a rather tall graphic, so I&#8217;ll keep the rest of this short post above it. Here&#8217;s the main chunk of code used to generate these images: This is the only method you need to override in your own UIViewController in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[14,9,13],"tags":[16,105],"_links":{"self":[{"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/29"}],"collection":[{"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":0,"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bynomial.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}