[WSG] Fontography

2006-02-08 Thread Designer

Hello Listees,

Fonts come into an area which confuses me.  To begin with, there doesn't 
seem to be any standardisation amongst the various fonts : 14px Times is 
smaller than 14px Verdana, for example.  (to my simple mind, 14 px is 14 
px)  The space taken up by a font varies too. This makes it hard to 
generalise about definitions in CSS, because often the readabiity of a 
font is borderline with some fonts and OK with others.  (let's not get 
into ems here - they are yet another nightmare). So my question : has 
anyone studied this for the common fonts, so that one can say :


IF {times} then size=15px else IF {verdana} then size = 14px etc etc. 

I've googled and got a bunch of stuff about fonts, but not found 
anything which mentions this.


Anyone have any helpful comments?

Bob McClelland
Cornwall (U.K.)
www.gwelanmor-internet.co.uk



**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Fontography

2006-02-08 Thread Gunlaug Sørtun

Designer wrote:


... has anyone studied this for the common fonts, so that one can say
:



IF {times} then size=15px else IF {verdana} then size = 14px etc etc.
 I've googled and got a bunch of stuff about fonts, but not found
anything which mentions this.


I think 'font-size-adjust'[1] is what you're looking for. Not sure if
that property has survived to css2.1. It used to work (somewhat) in 
Moz/Firefox. Don't know about other browsers at the moment.


regards
Georg

[1]http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props
--
http://www.gunlaug.no
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**