Firefox 69 will NOT print Barcodes with font 3of9
Categories
(Core :: Layout: Text and Fonts, defect, P4)
Tracking
()
People
(Reporter: equilter, Unassigned)
References
()
Details
(Keywords: fonts, testcase)
Attachments
(1 file)
|
60.02 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Print with Barcode font 3of9 in the document.
Actual results:
The barcodes do NOT print, even though they're displayed in Firefox. They also do NOT show in Print Preview.
Expected results:
It should print the barcodes.
Comment 1•6 years ago
|
||
Unfortunately this report is not very useful because it does not describe the problem well. If you have time and can still reproduce the problem, please read https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines and add a more useful description to this report by providing a test case. Or at least a link to "3of9" or something. Thanks!
| Reporter | ||
Updated•6 years ago
|
| Reporter | ||
Comment 2•6 years ago
|
||
More detailed information:
Launch Firefox version 69.
Go to this TEST URL:
https://www.equilter.com/BarcodeTest.html
Then go to File -> Print Preview, and the Barcodes are NOT shown.
| Reporter | ||
Comment 3•6 years ago
|
||
It looks like the Web Open Format font fre3of9x.woff
causes the issue, as it's the first font type in the list.
If I change to fre3of9x.ttf, the issue is resolved.
You may wish to support woff for printing?
Comment 4•6 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
20190827005903
(In reply to equilter@equilter.com from comment #2)
https://www.equilter.com/BarcodeTest.html
Then go to File -> Print Preview, and the Barcodes are NOT shown.
I can see the barcodes in Print Preview. Inspector shows the font type used is OTF.
| Reporter | ||
Comment 5•6 years ago
|
||
My browser does not display the BarCode fonts in Print Preview, as attached image capture shows.
| Reporter | ||
Comment 6•6 years ago
|
||
I'm not sure why you're able to see the fonts, as my browser shows NO barcodes in Print Preview. See attached.
Comment 7•6 years ago
|
||
Checking the web console when I visit https://www.equilter.com/BarcodeTest.html with Firefox, I see error messages
downloadable font: maxp: Bad maxZones: 256 (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:0) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.woff unknown:6:11
downloadable font: maxp: Failed to parse table (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:0) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.woff unknown:6:11
downloadable font: rejected by sanitizer (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:0) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.woff unknown:6:11
downloadable font: maxp: Bad maxZones: 256 (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:1) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.ttf unknown:6:11
downloadable font: maxp: Failed to parse table (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:1) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.ttf unknown:6:11
downloadable font: rejected by sanitizer (font-family: "eQuilter Barcode" style:normal weight:400 stretch:100 src index:1) source: https://www.equilter.com/layout/default/css/fonts/fre3of9x.ttf unknown:6:11
This indicates that the .ttf version of the font, and the .woff derived from it, are both faulty and therefore not loaded by Firefox. So it falls back to the .otf version. However, the fact that it first attempts to load two other resources, only to find that they are flawed, adds a lot of latency. This is probably why the font is not reliably loaded in time to generate the printed version of the page.
So fixing (or removing) the faulty .ttf and .woff resources will help here. It's still possible that @font-face fonts may fail to print, because of the issue discussed in bug 1557870, but at least the odds will be better.
| Reporter | ||
Comment 8•6 years ago
|
||
Thanks for your reply. I see that the .ttf and .woff versions seem to be corrupt in some way. I'll have to put the .otf version as the first choice here, and look for a possible substitute barcode font.
Updated•6 years ago
|
Updated•3 years ago
|
Description
•