Hello,

I have this part of code and PDF included special Czech character

----

   PDFTextStripperByArea stripper = new PDFTextStripperByArea();
   stripper.setSortByPosition( true );
   Rectangle  rect = new Rectangle ( 10, 280, 275, 60 );
   stripper.addRegion( "class1", rect );
   List  allPages = document.getDocumentCatalog().getAllPages();
   PDPage firstPage = (PDPage)allPages.get( 0 );
   stripper.extractRegions( firstPage );
   System.out.println( "Text in the area:" + rect );
   System.out.println( stripper.getTextForRegion( "class1" ) );

----

On Linux it work prefectly, but on Windows 7 i can see only character like
 ???

Can somebody help me ?

Thank you very much

Vitek

Reply via email to