PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

That sounds like the right method for right aligning text.

It could be that your width calculation is off.  I suggest adding a couple
lines or a rect or something to show where your width calculation things the
text starts and stops.  The start point should always be correct, but I
suspect your width calculation may be off.

Your width algorithm looks fine though... 

--Mark Storer
  Software Engineer
  Cardiff Software
#include <disclaimer>
typdef std::disclaimer<Cardiff> Discard;

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to