1 Reply Latest reply: Apr 19, 2010 8:10 AM by lrosenth RSS

    Insert special char using Tj

    joeln3 Community Member

      Hello,

       

      I try to insrt speecial char using a Tj operator. Actually I have no problem for all char (between 0 and 255) but for special char (e.g.

      æӴẬӱӪŢǞẮᆩᆩ붾◢4ᇗ) I don't know how to do.

       

      For the simple fonts I use : (fjsdklfsdkljf) Tj and for special char I have to use <12453254> Tj where my chars are described as 4X (hexa with 4 digits). But I think that in this case I have to change the font and use a Composite fonts. So it means that it's possible to have different Font form my text (possiblity to have one Composite font by glyph).

       

      But then how can I create a Composite font directly in the code (I mean without using the SDK methods).

       

      Thanks in advance,

      Joe

        • 1. Re: Insert special char using Tj
          lrosenth Adobe Employee

          You might want to re-read the PDF Standard (ISO 32000-1) to understand how text operations work vis-à-vis fonts.

           

          Basically, the value passed to the text drawing operator is just an "index" into the list of glyphs provided by the font, as described by the encoding for the font.  So what value you put in the stream and how you encode it is specific to the font being used.