Design For Hackers: Why You Don't Use Garamond on The Web
kadavy.net
kadavy.net
Here's a stab: The culture here is such that comments are for the sake of the readers and not the writer. Some amount of self-promotion is fine, but too much is not appreciated.
Additonally, I've spent thousands of hours over the course of a decade obsessing over design details and historical context. Then, I spend a week crafting a blog post to condense a piece of my knowledge for sharing. I then ask for an opportunity to spend hundreds of hours preparing a presentation to share more of my knowledge. Somehow this is self-serving?
I don't need more (or more prestigious) clients. A SXSW badge is (relatively) inexpensive. I do all of this because I love to share knowledge. I understand what it's like to be turned off by shameless self-promotion, but sometimes a little perspective is called for.
Edit: that sounds snarky. It's not intended to be, but just an explanation of why I downvoted. I can appreciate your later comment, but when I made my reply to your original comment, yours was the only other comment in the submission. It seemed tacky.
I plan to talk less about the technical aspects of design, but talk more about the classical principles that guide good design. This post is about the relationship between medium and form, but I also plan to talk about use of proportion, and color theory.
However, I plan to have an open dialogue with those interested (through the Facebook Page), so I can tailor the presentation leading up to the event.
The fonts hosted there are free (both as in beer and as in freedom). It's interesting to see how they apply the concepts around free software to another medium, like fonts.
They only have a handful, but they're pretty much all high-quality.
They also package them up as @font-face with all the variations needed. I would be warned though, font rendering varies so greatly, that unless you test extensively, most will not be good enough for anything but headings.
The Open Font Library guys appear to be struggling, however: http://skitch.com/jm3net/dt3cr/broken-font-library [screenshot of the fonts not working in Chrome]
Also, desktop display tech needs to advance. But meanwhile, yes, please test your font selections with different software and preferably hardware, and ensure that it stays readable. I think all these new tech allowing fancy typefaces has produced at least twice as many horribly unreadable sites than those it has improved.
But the main point was that I strongly disagree defining font sizes in pixels. What happens when somebody with 250 PPI display comes along and that 12 px font suddenly is 3.5 points?
"If the pixel density of the output device is very different from that of a typical computer display, the user agent should rescale pixel values."
It then goes on to define a "reference pixel" in terms of arclength subtended within the user's field of vision. On reflection, I suppose this is sufficiently different from pt/in/cm (which measure absolute length) to merit its own separate measure; I just wish they hadn't used the term "pixel" for it. Because "pixel" already means something else and the arclength subtended by a pixel in a "typical computer display" has changed considerably over the last twenty years.
If the pixel density of the output device is very
different from that of a typical computer display, the
user agent should rescale pixel values. [...]
It is recommended that the reference pixel be [...] one
pixel on a device with a pixel density of 96dpi
http://www.w3.org/TR/CSS21/syndata.html#length-unitsI find myself using Reader and/or hitting Cmd+Plus on far too many sites these days.
KISSmetric uses Helvetica and a matching bg shadow blur for all of their body text, which makes my eyes bleed. Horrible practice. Avoid text-shadow for body.
Something that I can blindly follow when making the first draft of a site.
Anyone want to share a link to such a thing?
But I will try to put together a simple list of standard fonts and how to optimize them for the best results. Will shoot you an email when it's done.
Maybe you should also consider posting it? It seems like many people would appreciate it here!
That's a great resource. It also highlights the futility of specifying alternate font families. I couldn't find any font family combination that looked good side by side using the same size, leading, tracking, etc.
Here are my suggestions:
sans: "font-family: Arial, Verdana, Tahoma, sans-serif;"
serif: "font-family: Georgia, 'Times New Roman', Times, serif;"
mono: "font-family: 'Courier New', Monaco, monospace;"
Always remember to put the generic font type ('sans-serif', 'serif', 'monospace') at the end so browsers have something default to fall back on in all cases. For example, most linux distributions have a good monospace font defaulted, so you don't even need to try to guess a font (though 'Bitstream Vera Sans Mono' and 'DejaVu Sans Mono' are not bad guesses) there. "Consolas", "Menlo", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace
...but you might want to include Andale Mono, Droid Sans Mono, Inconsolata, Lucida Console or Monaco as well.EDIT: I believe there is a large population of folks that don't like ClearType hinted fonts. Consolas looks absolutely horrible unless you have ClearType on and tuned. I can't speak to Consolas on any Linux-based OS as I've never tried it.
That said, yes world, please don't use Helvetica for body font, most people don't even have a good version of the font, and plenty of renderers butcher its kerning, anti-aliasing (especially with versions of the font without good hints, or with renderers that ignore them), and even its baseline.
It's common knowledge that Helvetica is a better font than Arial, plain and simple. The issue is just that Arial is somehow optimized for screen display (hinting or whatever), whereas most or many Helvetica versions aren't. At least, that's my understanding, correct me if I'm wrong.
I've always suspected you could get around this handicap this way:
font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;
That is, only use Helvetica if they've got the updated version Adobe has put out, otherwise prefer Arial. I know Helvetica Neue technically was created before the rise of the web, but for some reason I expect it would render better. I've never had a PC that had the font installed though, so I've been unable to test this.
Otherwise it becomes unbearable to read at standard body font size 11-13pt. See here http://trevordavis.net/play/helvetica/
Unfortunately for windows users, they don't get the pre-loaded collection and because the font isn't free, most people settle for downloading either one version/style as demo-copy or modified version of it. This is problematic because the CSS still recognizes that you have Helvetica and doesn't fall back to Arial.
Typekit is the solution to that if you're willing to pay. I doubt open libraries will ever carry Helvetica. It costs too much. :P
* {
font-family: helvetica !important;
font-size: 18px !important;
text-decoration: none !important;
line-height: 105% !important;
}
This has really kept me from bothering which fonts look bad on the screen and why. For years. I would love to have a few basic, classic fonts used on my display but currently a carefully selected sans-serif font such as Helvetica is required for pleasurable web experience. Times and Garamond come to mind, I love them on print.The Helvetica I have is actually a real Helvetica that I grabbed from some odd place several odd years ago and stashed for my personal use.
It's worth noting that it doesn't really matter though. Most iPhones are pre-retina, and this will be the case for at least several years. So I can't think of a medium where it's okay to assume this level of screen resolution. The author's point still holds.
I believe laser printers do print at something like 1200 DPI, like you're saying.