{"id":211,"date":"2006-07-05T16:52:00","date_gmt":"2006-07-05T16:52:00","guid":{"rendered":"http:\/\/neosmart.net\/blog\/archives\/211"},"modified":"2013-08-26T18:10:13","modified_gmt":"2013-08-26T23:10:13","slug":"css-vistas-new-fonts","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/css-vistas-new-fonts\/","title":{"rendered":"CSS &amp; Vista&#39;s New Fonts"},"content":{"rendered":"<p>As we reported and reviewed in our article &#8220;<a href=\"https:\/\/neosmart.net\/blog\/a-comprehensive-look-at-the-new-microsoft-fonts\/\" rel=\"follow\">A Comprehensive Look at Microsoft&#8217;s New Fonts&#8221;<\/a>, Vista has some spectacular new fonts &#8211; but we have a few issues with them now that we&#8217;ve tried them and implemented them with mixed success here on The NeoSmart Files and on the Forums, and here&#8217;s the problem.<\/p>\n<p>They just don&#8217;t fit. The new fonts are mostly too small to be plugged right in to an existing CSS file. If you tweak the CSS so that it looks right for, say, Calibri; ten minutes later someone that doesn&#8217;t have that font is going to come around and ask your server for that CSS file &#8211; but since they don&#8217;t have Calibri installed, their browser will use the next one on the list, and unfortunately, your sizes are going to be all wrong.<\/p>\n<p><!--more--><\/p>\n<p>After a whole day or so of coding, we managed to get the CSS on the blog here up to scratch: it looks OK (maybe even good?) with both the new MS fonts and the old (deprecated!) fonts &#8211; but that&#8217;s not enough. We managed to get it to look OK for both, but it could have been much better. We needed to use middle ground almost everywhere, because if it looks perfect for one set of fonts, you can bet the farm it&#8217;ll look terribly out of proportion for the other. As it is, the actual pixel sizes of the text with the new fonts compared to without them is quite different, but there is nothing that can be done.<\/p>\n<p>The only font that just works no matter where you put it is Consolas. Its characters may not be as wide as traditional mono-spaced fonts (that&#8217;s why it looks great!), but nonetheless, the letters themselves are near-enough identical in height to act as a full replacement. Candara also comes close: it&#8217;s just as small as the rest, but the style of typography it employs makes it just as readable as an older font of the same size, making it possible to also (for the most part) plug-and-play possible for web-work.<\/p>\n<p>But the rest don&#8217;t cut it.<\/p>\n<p>The best solution would be (and forgive us if this already exists, we couldn&#8217;t find it) to give a percentage height to each font, so instead of a CSS segment that used to look like<\/p>\n<pre>font-family: Calibri, 'Lucida Grande', Verdana, Arial, Sans-Serif;<\/pre>\n<p>One could implement a CSS hack that provides per-font size scaling, a quick and not-too-well-thought-out example being:<\/p>\n<pre>font-family: 'Calibri'-120%, 'Lucida Grande'-100%, 'Verdana'-96%, 'Arial'-101%, Sans-Serif;<\/pre>\n<p>Obviously the ideal solution would be for Microsoft to embrace standards (or at the very least, tradition) and increase their font sizes for small point amounts &#8211; but then again, it&#8217;s probably the least likely solution as well. Failing that, Internet Explorer 7 could integrate some form of dynamic font-scaling that would most certainly win the hearts of web designers back; but at the moment Internet Explorer 7 is still playing the catch-up game, and is nowhere near the kind of innovation Internet Explorer used to be famous for.<\/p>\n<p>In the previous article and others of its kind, NST readers and members were quick to point out the biggest problem: these licenses are under a restrictive license (unlike the core MSFT files); and have no hope of being redistributed to other operating systems or even to users of other versions of Windows without purchasing Office 2007. Although web-design wasn&#8217;t the main focus of the comments, it applies here more than anywhere else. If Microsoft made these fonts free for restricted distribution (as they did with the core MSFT fonts) that would also this and quite a few other problems &#8211; for once it&#8217;s made available and shipped with Linux distros everywhere, no one needs to worry about the alternate fonts.<\/p>\n<p>Given the solutions, their effectiveness, and most importantly, their probability of happening; its probably a safe guess to say that we won&#8217;t get a fix, and if we do, it won&#8217;t arrive until CSS 3.0 is released, Microsoft goes GPL, or pigs start to fly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we reported and reviewed in our article &#8220;A Comprehensive Look at Microsoft&#8217;s New Fonts&#8221;, Vista has some spectacular new fonts &#8211; but we have a few issues with them now that we&#8217;ve tried them and implemented them with mixed &hellip; <a href=\"https:\/\/neosmart.net\/blog\/css-vistas-new-fonts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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":""},"categories":[1],"tags":[73,539,53,245,125],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-software","tag-css","tag-typography","tag-vista","tag-w3c","tag-web-design"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-3p","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":1,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":2011,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions\/2011"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}