On May 18, 2007, at 6:44 AM, Jukka K. Korpela wrote:
> On Thu, 26 Apr 2007, Philippe Wittenbergh wrote:
>
>> font-size-adjust works on the first specified font-family in the
>> stylesheet.
>>
>> You know that the value for Verdana is 0.58 [1]. You specify that.
>> If you have 'Verdana', no problems arise, as you say. If 'Verdana' is
>> not available, the size of the font that is actually used will be
>> enlarged or reduced to match the aspect value of 'Verdana'.
>
> I'm returning to this discussion we had a few weeks ago, since I
> learned a
> lot from it but did not quite get some specifics.
>
> It seems that font-size-adjust helps in some sizing issues on
> Firefox 2
> (Windows) and does not hurt when it does not work, so it's
> reasonable to
> use it fairly often.
Yeah, it helps readability of articles, like when you mix two font-
families in the same run of text:
<p> text text <code>code</code> text text</p>
where code uses a monospaced font and <p> uses a sans-serif font.
As you say, no damage done when the browser doesn't support font-size-
adjust. And bonus points for the browser that does support it.
> Moreover, the new sans-serif fonts in Vista seem to
> have fairly small aspect ratios, so that there will be some
> problems when
> you write, say,
> font-family: Calibri, Arial, sans-serif;
I haven't tested those fonts yet. I have them available for install
on my OS X machines (thanks anonymous donor), but haven't had time to
do more. Heard good things about them, though.
---
On a slightly un-related note: may I assume that those have the full
range of unicode characters available when installed on XP or Vista ?
Afaik, upgrading to the latest MS Office installs those fonts.
---
>> The only problem I have atm is finding the aspect value for a given
>> font. The font contains that information, but I haven't found an
>> utility to tell me that value, nor any resource for it - especially
>> for fonts I don't have.
>
> This sounds like an odd situation. Are we all expected to find out
> such
> things by ourselves? I guess I can get to sufficiently accurate
> results
> by, say, using to copies of letter "x" side by side, one in Verdana
> in a
> very large font size, the other in the font being investigated.
> Then I can
> tune the font size of the latter "x" so that the x's are equally
> tall, and
> then I simply divide the font sizes and multiply the result by
> 0.58. But
> this is rather clumsy and boring.
That is the kind of exercise I've been doing on and off - kind of
boring as you say.
I created a two line string of text, duplicated it, and compared:
p {font-family:....;}
p.adjust {font-size-adjust: value;} /* start filling in values here
until both paragraphs match*/
Better do this at large font-sizes to really notice differences (I
used 30px and 50px). Not scientific at all, of course.
Some people have been doing with illustrator+ photoshop, and counting
pixels. There are a couple of hits on the first 3-4 pages when
asking Uncle google.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/