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? 

 

Michel

 

 

Reply via email to