Again, without the embedded graphics:

I am working on migrating to PDFBox 3.0.2 from 2.0.27, but find that the 
'org.apache.pdfbox.util.Charsets' is no longer available.

import org.apache.pdfbox.util.Charsets;

I am using it in a very specific case to write some text into the PDF output 
stream:

  case PATTERN_CROSS_DIAGONAL:
        oOS.write("0 0 m 10 10 l 10 0 m 0 10 l s".getBytes(Charsets.US_ASCII));
  break; 


What is the equivalent expression for PDFBox 3.0?

Rich Stafford
Chief Scientist
eQuorum Corporation 
***
At 07:20 AM 5/29/2024, Rich Stafford wrote:
>I am working on migrating to PDFBox 3.0.2 from 2.0.27, but find that the 
>'org.apache.pdfbox.util.Charsets' is no longer available.
>
>Emacs!
> 
>
>I am using it in a very specific case to write some text into the PDF output 
>stream:
>
>Emacs!
> 
>
>What is the equivalent expression for PDFBox 3.0?
>
>Rich Stafford
>Chief Scientist
>eQuorum Corporation 

Reply via email to