Tom Lauck’s Deseloper.org

A First Date with TypeKit

author:

Several weeks ago, I found myself in a friendly debate with a co-worker over the handling and future of fonts through the web browser.  Hours later, a TypeKit invite landed in my inbox; how coincidental.

Vegetarian Chicken

To break down what is happening with TypeKit, Jonathan Snook has a nice article that articulates the licensing limitation and techniques needed for successful @font-face embedding – TTF/OTF, EOT, and SVG.  These are the basic tenets of utilizing @font-face from a technical standpoint, minus TypeKit’s JavaScript for legal embedding and SVG.

@font-face {
	font-family: 'GothicCustom';
	src: url("LeagueGothic.eot");
	src: local('League Gothic'),
		url("LeagueGothic.svg#lg") format('svg'),
		url("LeagueGothic.otf") format('opentype');
}

Jonathan Snook – Becoming A Font Master

He also encapsulates the fact that font issues break down to essentially two buckets, browser compatibility and licensing.  This is a huge differentiator for TypeKit – all fonts based on your subscription level are properly licensed.  This does not come without a caveat unfortunately.  Rather than choosing from fonts common to designers such as Frutiger, Futrura, Univers, etc – TypeKit presents a list of imitations.  And thus I suddenly felt like I was looking at a Chinese buffet dish labeled as “chicken” even though it’s not – you’re not fooling me!

Rationale: Who cares if it’s not real chicken, Chinese “chicken” tofu kind of tastes and feels like real chicken so stop complaining – it’s healthy for you.  Translation: TypeKit font families aren’t quite what you are used to but most of them are close enough – and they are fully licensed, everyone is happy.

The Vegetarian Dies of Malnutrition

If you are not a fan of JavaScript and are just interested in a purist CSS only solution, you should really leave now – yes, TypeKit relies on JavaScript just as most of its competitors. Comparing apples to apples (in this case TypeKit vs sIFR), TypeKit’s JavaScript footprint is a bit smaller than sIFR’s ~10k compared to sIFR’s ~20k.  But wait – how exactly is the font getting inserted into the page – it’s not like we are using a system font that can just be accessed at the OS level?  As it turns out, each font in TypeKit is upwards of 100k and in my small use case, for 2 fonts in my kit, I was hitting 240k. Now you can trim this down depending on the font you choose and exact character sets, however, this was what the TypeKit editor defaulted to for my demo site’s needs.  

typekit-size

Comparing apples to apples again, in my small use case for 2 separate fonts via a single SWF file – oh and these were my EXACT brand fonts, not imitations – I was hitting about 50k.  This could certainly explain the load and render delay many (not just myself) have been experiencing with TypeKit.  Another contributor to render time could be the fact that TypeKit requires their script to load in the <head>.  This is contradictory to Yahoo’s optimization guidelines and progressive loading – it forces that 250k to be rendered before anything else on page can be rendered.  Did I mention TypeKit costs money too?

File size and loading optimization aside, browser compatibility – the overriding limiting factor we usually face is also an interesting study. Obviously there is always a significant margin in these statistics, but for reference here is the current browser usage share and Flash penetration:

bowser-stats

TheCounter.com

adobe-penetration-200909

Adobe Systems, Inc.

In some of my personal findings with TypeKit, Chrome is a no-go, along with earlier versions of Firefox, IE, Opera, and Safari and sporadic behavior in all of the above. And I’m not the only one.  Again TypeKit is still in beta, so they get a little bit of a freebie here, but the fact remains that @font-face has remained somewhat elusive for so long, for so many reasons, and to think that it is solved right now would be a bit naïve.  By comparison, Flash replacement is somewhat bulletproof these days as Flash has become somewhat ubiquitous.

Give Me My Meat and Potatoes

Indeed, it is hard to argue the need for better handling of non-standard web fonts.  My personal philosophy around non-standard web fonts has always been holistic in nature – sIFR is good, but it still doesn’t solve the problem fully and neither does Cufon for that matter – so I often err on the side of creative use of standard web fonts. TypeKit is definitely a progressive effort to solve the problem of non-standard fonts in the browser.

Maybe I’ve been abused by bad technology hacks in the past, but I think the real issue goes deeper than our siloed world of web browsers and markup.  Which brings me to a conclusion of why we have been trying to implement non-standard web fonts in the first place: designers want finite control.  And this is the very reason why there is such a difference in standards between OS’s standard fonts and more importantly how they are rendered – Apple typically sides with the font designer and Microsoft does not.

The difference originates from Apple’s legacy in desktop publishing and graphic design. The nice thing about the Apple algorithm is that you can lay out a page of text for print, and on screen, you get a nice approximation of the finished product. This is especially significant when you consider how dark a block of text looks. Microsoft’s mechanism of hammering fonts into pixels means that they don’t really mind using thinner lines to eliminate blurry edges, even though this makes the entire paragraph lighter than it would be in print.

The advantage of Microsoft’s method is that it works better for on-screen reading. Microsoft pragmatically decided that the design of the typeface is not so holy, and that sharp on-screen text that’s comfortable to read is more important than the typeface designer’s idea of how light or dark an entire block of text should feel. Indeed Microsoft actually designed font faces for on-screen reading, like Georgia and Verdana, around the pixel boundaries; these are beautiful on screen but don’t have much character in print.

Joel Spolsky – Font smoothing, anti-aliasing, and sub-pixel rendering

Rather than standardizing on one solution for the masses, OS manufactures, browser developers, the W3C, and [you name it standards body here] keep giving us lame excuses instead of real options. And until then we are left with 80% complete excuses for using non-standard web fonts – sIFR, Cufon, and I’m sure TypeKit will not be the last.

23 Responses

date: November 3rd, 2009

Thanks for taking a look at Typekit, Tom. I wanted to address a couple points from your article.

With regard to file sizes, comparing fonts linked via @font-face to outlines served by Cufon isn’t really accurate. The fonts we serve are full Latin-1 character sets, and include features like ligatures and kerning pairs for the browsers that support them. Cufon outlines are also just individual font files, like Futura Bold Italic, whereas Typekit offers full families. You’ll notice in the Typekit editor that you can control how much of the family you wish to include in your CSS. Some families, like Mark Simonson’s Proxima, can have over a dozen weights and styles. I’m using just Proxima Ultralight on my Tumblr blog, and the whole package weighs in at just 22k.

http://veen.tumblr.com

Also, to say that Typekit “forces that 250k to be loaded before anything else on page can be loaded or rendered” isn’t quite accurate, either. Since the CSS and font payload are served from a 3rd-party server, you users’ browser can make more simultaneous connections and load more assets concurrently. We’re doing a lot more to make the loading experience smoother; have a look a the blog post we wrote about the issues involved:

http://blog.typekit.com/2009/09/15/rendering-fonts-in-todays-browsers/

Ultimately, we’re trying to give designers as much control over this new set of technologies as possible. To do that, we’ve been balancing the flexibility that real fonts provide, with the optimization techniques professional designers and developers need. It’s early yet for fonts on the web, but I think we’re heading in the right direction.

Thanks again for the article.

spoken by: Jeffrey Veen

date: November 3rd, 2009

Thanks for taking the time to clarify some things Jeff.

I agree that Cufon is not a direct comparison, but they are an alternative in the non-standard web font space right now. And I must say that TypeKit is bounds ahead of their effort, in my opinion at least. Regarding the package size, I agree that I used an extreme example – however I only did that because the TypeKit editor defaults to all characters. Flash, by comparison does not. I understand everything is still in beta, but I can see users just going with the default – the full amount of characters in a family.

I do regularly experience a nice delay while the font family is loaded and rendered. Therefore my use of the word “load” was very general and by that I probably should have used “render.” Also, even though you are loading from a CDN/3rd party server, which allows for some asynchronous loading, the JavaScript and therefore – in my outlier 250k example – the font family needs to be loaded and rendered before the HTML on the page. This is why it is optimal to put scripts just before the close of the body tag rather than in the head. It is understandable that you did this since you need to override the CSS and do it as soon as possible. However, I for one am a bit obsessive over things like that and therefore lean toward the hidden/visible CSS technique as in sIFR – allowing my scripts to start adjusting things after my site has been mostly rendered.

I’ve adjusted some of the copy to more accurately reflect what TypeKit is doing. I do look forward to keeping an eye on how TypeKit progresses. Thanks again for the points of clarification, and great job so far – you guys are moving in the right direction.

spoken by: tom

date: November 4th, 2009

[...] This post was mentioned on Twitter by Stephen Hurwitz, Tom Lauck. Tom Lauck said: New blog post: A First Date with TypeKit http://bit.ly/3bUTxM [...]

spoken by: Tweets that mention A First Date with TypeKit | Tom Lauck's Deseloper.org -- Topsy.com

date: March 10th, 2010

Pleasant post. Were would you bought just about all the stuff from

spoken by: Rina Slaugenhaupt

date: March 24th, 2010

I’ve just been doing some testing with typekit and while it seems to work ok there is one showstopping issue for me which is that the type appears pixellated in Windows 7 (it looks fine in Windows XP so I am guessing it is to do with Windows font rendering settings). This isn’t Typekit’s fault but as far as I know I can’t influence end users font settings so the defaults with Windows 7 give unacceptable quality and as a result I don’t think it is worth pursuing. It is a real shame as Typekit has the potential for being better than Cufon in many ways, but I will stick with using Cufon for now.

spoken by: Richard

date: September 28th, 2010

fqSeDa http://cgE8hcmk9Vvqlosr5wcBa6nk.com

spoken by: melony

date: November 12th, 2010

Very Good Site hot little nymphet 721659 nymphet teens pics uomjeb pretten nude nymphets 8]] ukrainian nymphets girls fmo index oflittle nymphets >:[ nymphet models net 0367 nymphet masturbation epkb child nymphets russian vrb elite nudes nymphets zenkx nymphet erotic story 781643 amazing nymphets dwo 14yo nymphet pics cxeg little nymphet links 356579 daddy nymphet 8-DDD bikini nymphet %[[ little virging nymphets vxlsyi sammy nymphets %]]] nymphet hardcore photo 15625 nymphet posing :]] nymphets 10yo grc ukranian nymphet pics sjdjc hot lilttle nymphets 8DDD anal ls nymphets 8[[[ little nymphet gymna 4538 nymphet imageshack jpg dwc little nymphet panties ibkdix nonnude ukrain nymphets %(( little nymphet angels 8-)) thai nymphets 8-PPP model nymphets boy 10043

spoken by: Gkeihpmy

date: November 12th, 2010

Gloomy tales bikini razor burn 22899 cum on kid =D girl mpeg young 6908 stream young porn 80150 foto roberta bikini ficun young thin nudes 921 bob dylan young 959 ultra young nude 23795 young fist rape 7519 expenses child 8DD hawaii bikini babes >:-OO young incests lkzvq child nude little 734026 hottest young celebs :-( (( young pettite ass >:) kidie rape 737063 cute emo girl 8237 child toy store iss childprotectionagency com fuot teen little whores 76774 hard little nipples 8PPP asian hymen virgin 393633 bikini girl masturbates 09405 poema al pedo 09067 young adult vacations 85872 image sex youngest 86806 nude bikini hired 350 young nude kiddie 23589 litiny teen 246949 bikini dare pictures uec

spoken by: Jrpxyksh

date: January 10th, 2011

Hi admin, I’ve got a little request. I was simply just searching for info about the topic you published and found this post. Some really nice material you posted here. May i if possible discuss this post on my new website I’m working on? That would be great :) . I am going to check back yet again later on to find out how you responded. Thanks, Bong Alecca

spoken by: Getting Pregnant after Miscarriage

date: January 28th, 2011

-~~ I am really thankful to this topic because it really gives useful information ;`”

spoken by: Led Spots

date: January 30th, 2011

You should look at FontDeck too. It doesn’t require Javascript to work and works more like the standard @FF

spoken by: Peter Michaels Allen

date: February 6th, 2011

;’; that seems to be a great topic, i really love it ‘-*

spoken by: Detox Diet

date: May 7th, 2011

Excellent beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept

spoken by: Ronni Perrelli

date: May 30th, 2011

I really like this celebrity. She is so nasty. Would love to see her in front of me.

spoken by: fake celebrity

date: October 29th, 2011

Great travel blog, also sent to my 10k twitter followers

spoken by: direct hotels

date: December 24th, 2011

Thank you for the auspicious writeup. It in truth used to be a amusement account it. Look advanced to far delivered agreeable from you! By the way, how could we be in contact?

spoken by: unmetered

date: April 3rd, 2012

Thanks for the new stuff you have discovered in your article. One thing I want to touch upon is that FSBO connections are built as time passes. By releasing yourself to owners the first saturday and sunday their FSBO is actually announced, ahead of the masses commence calling on Mon, you generate a good relationship. By sending them instruments, educational products, free reports, and forms, you become a good ally. By subtracting a personal fascination with them along with their circumstance, you produce a solid interconnection that, on many occasions, pays off once the owners decide to go with an adviser they know plus trust — preferably you.

spoken by: best pregnancy test after missed period

date: April 23rd, 2012

This website was… how do I say it? Relevant!! Finally I have found something which helped me. Cheers!

spoken by: ejercicios para perder barriga

date: May 2nd, 2012

My battery’s about to run out http://itydiqobupiky.blog.free.fr/ preteen arina I love Tori Black, one of my favorite porn stars, lovely body. Also, she says she tastes sweet because shes a vegetarian and eats a lot of fruits… Would love to taste that sweet pussy! Mmmm…

spoken by: Ogzoumfs

date: May 2nd, 2012

I’d like to transfer some money to this account http://ugotagia.de.tl maria cristina model Die hat wahnsinnig schoene Augen. Da koennte man glatt drin versinken. Tolle Frau. Waere nicht nur was fuer eine Nacht

spoken by: Jafirqul

date: May 3rd, 2012

Insert your card http://yuyigur.de.tl pre tenns bbs I’d love to read the English subtitles on that one. Very good. Was it actually broadcast on public television?

spoken by: Eamwfwzx

date: May 3rd, 2012

Will I have to work shifts? http://ayfanyi.de.tl child nymphet models I want more movies like these. They are way more realistic and the girl is way hotter than fake porn body girls.

spoken by: Lfvtivsl

date: May 12th, 2012

very interesting post Extended information here http://vacationrentalsreview.org/rentals/ca Richard

spoken by: Ventura Rentals

Leave a Reply

Nov 3 2009