PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Doh! My width array was off by one (I wasn't accounting for character, or array element, zero) so when I was adding my widths for those numbers it was taking a value of 278 for number 9 whereas it should have been 556. It just happened to be correct for the other characters and was throwing me off. All fixed. Thanks and Later, Gordon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Storer Sent: Thursday, January 22, 2004 10:19 AM To: '[EMAIL PROTECTED]' Subject: RE: [PDFdev] Text Width Calc and Placement 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 To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
