Linked by Thom Holwerda on Sun 5th Oct 2008 15:57 UTC
Windows There is one thing that really pushes my buttons, one thing that is sure to send me off on a rant on life, the universe, and everything. I have a 21" widescreen 1680x1050 display - which might not be large to some of the real geeks in here, but to me, it's pretty huge. With so much screen real estate, why oh why do my friends all still insist on maximising every window they come across when they sit down behind my computer? This - and more - is the subject of the latest post on Microsoft's Engineering 7 weblog.
Thread beginning with comment 332488
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Comment by sbergman27
by google_ninja on Sun 5th Oct 2008 19:49 UTC in reply to "RE[2]: Comment by sbergman27"
google_ninja
Member since:
2006-02-05

I've actually commented on this before.

Part of the reason it looks like ass is the way linux does font rendering, and/or the default sans-serif font that is set on the system just doesn't scale down. Freetype tends to spaz on anything but the most basic of jobs.

The logic behind setting a font at 0.9em is sort of weird in the first place though. You are basically saying you are respecting that the user set a base font size, but you want to display your text at a smaller size then they want to read it at. If you want absolute sizes, you should be using px, which should look the same on all systems. em is for relative sizing. The only reason you should be going for lower then 1 is for something like a caption, or for copyright text, not for the main type size on the page.

Reply Parent Score: 1

sbergman27 Member since:
2005-07-24

What is supposed to happen when you put a 'font-size: 81%" for body and then proceed to use a lot of 'font-size: 0.8em' for individual elements in the body? Are you supposed to end up with 0.8 * 12pt = 9.6pt or 0.81 * 0.8 * 12pt = 7.8pt?

And I thought this was obvious enough not to have to mention... but to the people who aren't getting 7 pt, what is your base font set to, and what is your minimum font size set to?

I'm not at all sure that this can be blamed on FreeType.

Reply Parent Score: 4

google_ninja Member since:
2006-02-05

What is supposed to happen when you put a 'font-size: 81%" for body and then proceed to use a lot of 'font-size: 0.8em' for individual elements in the body? Are you supposed to end up with 0.8 * 12pt = 9.6pt or 0.81 * 0.8 * 12pt = 7.8pt?


CSS gets overridden the lower you get. So if you have a style on the body and a style on an element, then element level will override the body level. If you are interest in this sort of stuff, I highly suggest firebug on FF, best web dev tool out there for CSS/JS.

And I thought this was obvious enough not to have to mention... but to the people who aren't getting 7 pt, what is your base font set to, and what is your minimum font size set to?


Default config of FF3 on Vista is 16pt Times New Roman.

Like I said before though, if you are going for a fixed size, you should be using px, exactly for this reason. If you are going for a relative size, 81% is just silly, because you are deliberately saying "Make this smaller then what the user set as an ideal font size."


I'm not at all sure that this can be blamed on FreeType.


I'm not saying it is all freetypes fault. I have just noticed that reading MSDN stuff in particular on a default linux install is pretty much illegible, which is why I mentioned it.

Reply Parent Score: 2