Hi all, --- Phil Harling <[EMAIL PROTECTED]> a écrit : > Nick Winger: > > is it possible to calculate, for a given font ( > for example: arial ), the > > length of a string in cm, mm or pt > > ( the length which it will have in the pdf file > content ) > > > > Yes. > > 1) Approximate it using the average width of a > character in a font * > string length. > > 2) Write a Java class and call it from an XSL > transform passing in the > string - and then calculate the length using the > font classes/methods in > FOP. Be careful of possible kerning.
What means 'kerning' exactly? > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]