« Return to Thread: Problem with showtext method

Re: Problem with showtext method

by Paulo Soares :: Rate this Message:

Reply to Author | View in Thread

I don't want to hear what Bruno is going to say about this... (Ohhh, my eyes
hurt)

Paulo

----- Original Message -----
From: "Laura CB" <lauracoba@...>
To: "Post all your questions about iText here"
<itext-questions@...>
Sent: Sunday, May 25, 2008 4:00 PM
Subject: Re: [iText-questions] Problem with showtext method


I tried using the method setLiteral ("q\n BT\n 36 806 Td\n0 -18 Td\n/F1 12
Tf\n(Hellú Wôrld)Tj\n0 0 Td\nET\nQ\n") and it the result
was wrong also... the first u doesnt appear and the word World is
illegible...



2008/5/14 1T3XT info <info@...>:

> Paulo Soares wrote:
> > You may need another font or compilation switches or something else.
> > Your
> > post is too vague.
>
> I think that if the font doesn't have the characters, nothing is shown.
> My guess would be that the bytes are 'shaven'.
> Either you have the Strings hard coded in your JAVA code and then
> compiled that code using the wrong encoding; or you are getting the
> Strings from an outside resource (file, database,...) and you're reading
> them using the wrong encoding.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

 « Return to Thread: Problem with showtext method

LightInTheBox - Buy quality products at wholesale price