Open melloware opened 1 week ago
Interesting idea. Not really necessary for Java2D, since the Graphics2D
object can be transformed prior to providing it to the Okapi renderer, but it could be useful for SVG and PS (and if we add it there, we might as well keep things consistent and add it to Java2D). I'll have a look in the next few days.
Awesome! For reference this is what I am replacing https://www.primefaces.org/showcase/ui/multimedia/barcode.xhtml
You can see it in the UPC example.
I am converting from Barcode4J and one thing it had was the ability to adjust the Orientation.
For the Java2d Renderer...
For the SVG Renderer:
And this method is how it normalized.
It would be great to get this in Okapi!