{"id":256,"date":"2010-06-08T15:51:54","date_gmt":"2010-06-08T15:51:54","guid":{"rendered":"http:\/\/dev.gregbueno.com\/wp\/sakufu\/2010\/06\/08\/sansserif_fonts\/"},"modified":"2010-06-08T15:51:54","modified_gmt":"2010-06-08T15:51:54","slug":"sansserif_fonts","status":"publish","type":"post","link":"https:\/\/gregbueno.com\/sakufu\/2010\/06\/08\/sansserif_fonts\/","title":{"rendered":"Sans-serif fonts and Japanese text, redux: It&#8217;s Webkit&#8217;s fault"},"content":{"rendered":"<p>I don&#8217;t use iTunes, and the last time I bought anything from the iTunes store was some time in 2008. The recent shutdown of Lala.com, however, resulted in a $40 credit at the iTunes store, so I decided to update the software and shop around.<\/p>\n<p>While I was updating iTunes, I figured I may as well install Safari for Windows, just to take a cursory look at my websites.<\/p>\n<p>So all those problems with <a href=\"http:\/\/www.gregbueno.com\/index.php\/sakufu\/entry\/3776\/\">Japanese text and sans-serif fonts<\/a> I&#8217;ve been laying down at Google Chrome&#8217;s feet? Well, it&#8217;s not Chrome&#8217;s fault entirely &#8212; it&#8217;s Webkit&#8217;s fault.<\/p>\n<p>Chrome runs on the Webkit engine, which also powers Safari. Viewing this site in Safari produces the same result &#8212; no font substitution when a sans-serif Japanese font is required. A visit to <a href=\"http:\/\/www.bounce.com\/\">Bounce.com<\/a> on Safari confirms it &#8212; the site looks borked on Safari as well.<\/p>\n<p>Just to be thorough, I checked Opera as well. It can handle sans-serif Japanese font substitution fine, although it looks a bit ugly.<\/p>\n<p><strong>UPDATE, 02\/27\/2011, 08:13:<\/strong> Well, I finally joined the 21st Century and upgraded from Windows XP to Windows 7. Aside from all the User Access Control prompts and annoyances with running programs as an administrator, I have to say I rather like some of the subtle touches of Windows 7, but that&#8217;s not the point of this update.<\/p>\n<p>Windows 7 and Webkit are rendering Japanese text styled with a sans-serif font. Rather, it falls back on a default font (even if it&#8217;s a serif font) than showing nothing at all. This issue hasn&#8217;t been fixed in Windows XP, which is inconvenient for anyone holding out on upgrading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So all those problems with Japanese text and sans-serif fonts I&#8217;ve been laying down at Google Chrome&#8217;s feet? Well, it&#8217;s not Chrome&#8217;s fault entirely &#8212; it&#8217;s Webkit&#8217;s fault.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-technophilia-professional"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Bkjq-48","_links":{"self":[{"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":0,"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"wp:attachment":[{"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregbueno.com\/sakufu\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}