Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Other than dumping the font metrics to a table (the designers are using a single Web-ish true-type font in 11pts), how can I determine the string width, accounting for paired kerning?
I have looked at various modules from CPAN for getting TTF metrics, but have yet to find an example of what I suspect is a common problem, e.g., determining the rendered width of the string.
Can anyone provide any pointer to where I might look for example code in Perl, C, or Java?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Length of rendered TTF string in pixels?
by steveAZ98 (Monk) on Jul 24, 2000 at 05:45 UTC | |
|
Re: Length of rendered TTF string in pixels?
by lhoward (Vicar) on Jul 24, 2000 at 07:48 UTC | |
by Anonymous Monk on Jul 25, 2000 at 00:44 UTC | |
|
RE: Length of rendered TTF string in pixels?
by Russ (Deacon) on Jul 24, 2000 at 06:42 UTC | |
|
Re: Length of rendered TTF string in pixels?
by Anonymous Monk on Jul 25, 2000 at 01:56 UTC |