Yes, it's maybe useful when you need exactly specify column width.
But for our usage, there is not important, that the column with is 5.2 or
5.4 mm
And, when you must parse metrics and kerning-tables for each table column,
then will be increased processing time.

Michal

-----Original Message-----
From: James Richardson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 12:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Automatic generation of cell size



Although really you should use the font metrics & kerning tables...

James


Bucht�k, Michal wrote:

> 
> 
> It's not universal for all fonts, but
> we know font which is used and the font-size
> so we find a longest string in collumn
> 
> column-width = longest_string_length * avg(charsizes_of_font);
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to