Thanks you very much... 

Then why doesn't it work for me.. When I see document property in Acrobat 
reader.. it shows me same fonts...

  

This is how I get bytes


        ByteArrayOutputStream stream = new ByteArrayOutputStream();
        StreamResult result = new StreamResult(stream);

       Source xmlSource = new JDOMSource(document);
       transformer.transform(xmlSource, result);

        ByteArrayOutputStream out = new ByteArrayOutputStream();
        Driver driver = new Driver(new InputSource(new 
StringReader(stream.toString())), out);
        driver.run();
        return out.toByteArray();
 


Thanks
SN

Personally I'm always ready to learn, although I do not always like being taught
  




________________________________
From: Oscar Schoof <[email protected]>
To: [email protected]
Sent: Mon, 9 November, 2009 6:19:44 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

   




I
>have added zero width spaces to this line 
>NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​
>LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15
>
>
>Please look at generated xml file and the portion of resulting
>PDF which has junk characters
>
>
Hi SN,

when i let my fop 0.20.5 version do the rendering i get a lot of
warnings but it renders your xml complete.
I see no junk characters, as can be seen in the attached image.
I also attached an image of the font-properties of the pdf, maybe that
is of use to you.

Oscar







DISCLAIMER "Deze e-mail inclusief eventuele bijlagen, is vertrouwelijk en 
alleen bestemd voor geadresseerde. Mocht u dit bericht abusievelijk ontvangen, 
verzoeken wij u het bericht te vernietigen. Op al onze werkzaamheden zijn de 
Algemene Voorwaarden van Omegam Laboratoria van toepassing." 

Omegam Laboratoria bv - Amsterdam - NL - KvK 34215654   

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


      Connect more, do more and share more with Yahoo! India Mail. Learn more. 
http://in.overview.mail.yahoo.com/

Reply via email to