Re: Subscript/Superscripts

2013-05-10 Thread Peter Murray-Rust
As already mentioned you have to do the layout yourself. I have been doing the reverse - interpreting sub/superscripts which gives some idea of the relative font sizes, the changes in y and x coordinates, etc. Some people put a lot of effort into this (e.g. in maths, where considerable kerning is o

Re: Subscript/Superscripts

2013-05-09 Thread Eliot Kimber
The encoding of the string shouldn't matter--as long as the character that's emitted into the PDF is the correct Unicode character and the font mapping is to a Unicode font, then it will work. The only way the encoding could matter is if you were manually constructing the bytes of the PDF, which yo

Re: Subscript/Superscripts

2013-05-09 Thread Andreas Lehmkuehler
Hi, Am 09.05.2013 02:06, schrieb Buzzy Spain: Hi all, I need to add text to a pdf that includes a number of superscript and subscript characters. Is there a "right" way to do this? My assumption is that drawing the string at some location and then drawing the super/subscript at a reduced poin

Re: Subscript/Superscripts

2013-05-09 Thread Buzzy Spain
A bit of mail client confusion on my part. Apologies for the bump. On Thu, May 9, 2013 at 9:35 AM, Andreas Lehmkuehler wrote: > Hi, > > Am 09.05.2013 18:20, schrieb Buzzy Spain: > > Bump... haven't seen this go to the list yet... >> > What do you mean?? > > > On Wed, May 8, 2013 at 5:06 PM, B

Re: Subscript/Superscripts

2013-05-09 Thread Andreas Lehmkuehler
Hi, Am 09.05.2013 18:20, schrieb Buzzy Spain: Bump... haven't seen this go to the list yet... What do you mean?? On Wed, May 8, 2013 at 5:06 PM, Buzzy Spain wrote: Hi all, I need to add text to a pdf that includes a number of superscript and subscript characters. Is there a "right" way t

Re: Subscript/Superscripts

2013-05-09 Thread Buzzy Spain
Bump... haven't seen this go to the list yet... On Wed, May 8, 2013 at 5:06 PM, Buzzy Spain wrote: > Hi all, > > I need to add text to a pdf that includes a number of superscript and > subscript characters. Is there a "right" way to do this? My assumption is > that drawing the string at some

Subscript/Superscripts

2013-05-08 Thread Buzzy Spain
Hi all, I need to add text to a pdf that includes a number of superscript and subscript characters. Is there a "right" way to do this? My assumption is that drawing the string at some location and then drawing the super/subscript at a reduced point size offset up or down is not best practice. I