Barcode Number missing when exporting to Postscript
Original Reporter info from Mantis: TWhyman
-
Reporter name: Tony Whyman
Original Reporter info from Mantis: TWhyman
- Reporter name: Tony Whyman
Description:
When a barcode is included in a Lazreport form, both the barcode and the barcode number (text) print correctly both in preview mode and on a printer. However, when exporting to postscript using the addon, the Barcode Number is lost.
Additional information:
The problem appears to be in TfrBarCodeView.GenerateBitmap. This function creates the barcode for the export process. However, it omits to load the correct font into the bitmap canvas. The attached patch seems to fix the problem.
Mantis conversion info:
- Mantis ID: 23134
- Version: 1.0.2
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 39158 (#d1f05428)
- Target version: 1.2.0
- LazTarget: 1.2