Am 06.05.2016 um 14:21 schrieb Macamba:
Hi all,
Is it me or is the EmbeddedFonts example in the pdmodel directory of the pdfbox
examples on SVN Apache not working?
I get The following output:
src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable
character for encoding Cp1252
stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng Viß╗çt");
^
src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable
character for encoding Cp1252
stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng Viß╗çt");
^
src\org\apache\pdfbox\examples\pdmodel\EmbeddedFonts.java:63: error: unmappable
character for encoding Cp1252
stream.showText("English ÐÇÐâÐ?Ð?ð║ð©ð╣ Ð?ðÀÐïð║ Tiß║┐ng Viß╗çt");
^
3 errors
Error: Could not find or load main class
src.org.apche.pdfbox.examples.pdmodel.EmbeddedFonts
Location:
https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFonts.java?view=log
Line 63 in the code reads:
stream.showText("English руÑÑкий Ñзык Tiếng Việt");
Should that not be human readable text?
Yes... it is human readable text with this link:
https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFonts.java?view=markup
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]