Title: Re: [PDFdev] Need Help
When you create the font object , you should pay attention to the encoding.
I use WinAnsiEncoding on windows.

HTH


Le 17/07/03 23:32, Sagar Shah <[EMAIL PROTECTED]> a écrit�:

hi !
     I am making a plugin(with c++) to extract the data from XML file and put it into pdf file .  but other than normal characters are missing in the resulting PDF .

 On summarizing my question becomes how to add these characters to PDF( "�" , "��" , "�"  etc )
   as i am using the API

       I am reading in wstring from XML file and now how should i change it into Uns8* so that on putting the text on PDF .i get the specificied character

      PDETextAdd(pdeText,           
               kPDETextRun,              /* kPDETextRun, kPDETextChar */
               0,                                /* index */
               (Uns8*)ch ,                  /*Text to add  ????????????   */
               8,       /* length of text */
               pdeFont,                  /* font to apply to text */
               &gState, sizeof(gState),  /* graphic state to apply to text  */
               NULL,0,                  /* text state and size of structure*/
               &textMatrix,              /* transformation matrix for text  */
               NULL
     );

 Can anyone help me out ? thanking you in advance.
 I am in urgent neeed

Regards ,
Pramod Sharma


Reply via email to