mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Merge pull request #16305 from Snuffleupagus/PDFJSDev-skip-PRODUCTION
Remove the `PRODUCTION` build-target
This commit is contained in:
commit
c9359957e6
31 changed files with 89 additions and 269 deletions
|
@ -4529,10 +4529,7 @@ class TranslatedFont {
|
|||
* @private
|
||||
*/
|
||||
_removeType3ColorOperators(operatorList, fontBBoxSize = NaN) {
|
||||
if (
|
||||
typeof PDFJSDev === "undefined" ||
|
||||
PDFJSDev.test("!PRODUCTION || TESTING")
|
||||
) {
|
||||
if (typeof PDFJSDev === "undefined" || PDFJSDev.test("TESTING")) {
|
||||
assert(
|
||||
operatorList.fnArray[0] === OPS.setCharWidthAndBounds,
|
||||
"Type3 glyph shall start with the d1 operator."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue