Re: How: calculate the length of a text

2003-02-05 Thread J.Pietschmann
Unger, Joachim wrote: How can I calculate the length (in mm) of a text before output? Why do you think you need this? Is there a solution für FOP? Wrong question. There is always a solution in software. J.Pietschmann - To unsubscri

RE: How: calculate the length of a text

2003-02-05 Thread Mihael Knezevic
Sent: Wednesday, February 05, 2003 5:23 PM To: '[EMAIL PROTECTED]' Subject: AW: How: calculate the length of a text I cannot use monospaced fonts - i forgot to write that ! Joachim -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. Februa

AW: How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
I cannot use monospaced fonts - i forgot to write that ! Joachim -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. Februar 2003 17:16 An: [EMAIL PROTECTED] Betreff: Re: How: calculate the length of a text You could use a monospace font (e.g

Re: How: calculate the length of a text

2003-02-05 Thread Clay Leeds
You could use a monospace font (e.g., font-family="Courier New, Courier, monospace"), measure the width of each character, and then count the number of characters. Of course, the font-size, will be significant. 8pt Courier text is a little <2mm wide. You'd also have to consider that spaces at t

How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
How can I calculate the length (in mm) of a text before output? Is there a solution für FOP? Regards, Joachim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]