Laura CB wrote:
> 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...
You are using setLiteral and you wrote some literal PDF syntax,
therefore one must assume that you are a PDF specialist; otherwise
you wouldn't be able to write the above PDF syntax.
As you are a PDF specialist, you surely understand that the following
counter question is very obvious, and that the answer to this counter
question is mandatory to solve the problem.
In your PDF syntax you are referring to a font by the name /F1.
In the resources dictionary that is defined in the dictionary
that comes with the stream containing the above PDF syntax, there
is an entry /F1 in the fonts entry of the resources dictionary.
Please tell us what's inside the corresponding font dictionary.
Is the font embedded? If not, look no further, you need to embed
the font to make sure those characters are shown correctly.
If the font is embedded: are the characters present in the font
program? If not, that's why they aren't shown. You should use a
font that knows how to draw the characters instead of a font that
doesn't.
If the font is embedded and there's a glyph description that
corresponds with the character, then the font should be displayed
as defined in the font program.
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
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-questionsDo you like iText?
Buy the iText book:
http://www.1t3xt.com/docs/book.phpOr leave a tip:
https://tipit.to/itexttipjar