on 03-23-2016 5:05 PM
I have a PB.net assembly that is saving a datawindow (via a datastore) as a PDF that includes a QRCode barcode font (IDAutomation) and is getting a PDFSharp error "Ascender should be less than 0" between the file being generated and saved to the saved location. If you click the Ignore button the PDF is saved and when opened is rendered just fine and includes the QRCode barcode. The barcode font is installed on the machine as well as any components needed for the font. This only happens if the font of the column returned in the datawindow is using the barcode font. So, if it's Arial it's fine.
The PB assembly is used in a WPF application.
Has anyone else seen this kind of message before? Is there anything that can be done to suppress it or give it what it needs?
This message will only appear the first time that the Ignore button is selected while WPF app is running and is fine otherwise.
Any help would be awesome
This seems to be an issue with 2D barcode fonts.
I downloaded this trial version of a QR Code font from QR Code Barcode Fonts (http://www.barcoderesource.com/qrcodebarcode.shtml)
If you could create a simple PB .Net Assembly that has a datawindow with a barcode font on it and a datastore that does a SaveAs PDF! from a nonvisual and consume that in a simple WPF app I would hope you'd see what I am seeing in my previous post. You can follow the example they provide to get a barcode to produce
So it doesn't work for IDAutomation fonts or this font from Barcode Resource.
Hope this might help a guru out there in helping to solve my issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.