Closed jenthomas88 closed 14 hours ago
@jenthomas88 Please pay attention to IDEA warnings. I believe IDE highlights this line as a warning:
fsImage.scale(cssWidth, cssHeight);
This is because class FSImage
is now immutable, and method fsImage.scale(...)
returns a NEW instance.
You need to slightly modify your code to use this new instance returned by scale
method.
P.S. Do you use some external dependency for generating bar codes? Seems like a nice feature to add to FS.
Thanks, it's working now. Yes you are right, there was an IDEA highlight and I just didn't notice.
There's no need for an external lib, com.lowagie.text.pdf.Barcode128
is included in com.github.librepdf:openpdf
that is already a dependency of FS.
Hello !
Since upgrade from 9.10.2 to 9.11.0, the barcodes are displayed too too small in the PDF generated. 9.10.2: 9.11.0:
This is my HTML:
This is my generation code:
This is BarcodeReplacedElementFactory class:
Is this a bug in the new version or do I have to change my barcode replacement method ?
Thank you for reading me !