mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #13640 from Snuffleupagus/issue-6759
Add non-PRODUCTION/TESTING overflow `assert`s to various string helper-functions (issue 6759)
This commit is contained in:
commit
6307349e31
6 changed files with 52 additions and 4 deletions
|
@ -23,6 +23,9 @@ describe("font_fpgm", function () {
|
|||
defaultEncoding: [],
|
||||
cMap,
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
|
|
@ -23,6 +23,9 @@ describe("font_post", function () {
|
|||
differences: [],
|
||||
defaultEncoding: [],
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
@ -41,6 +44,9 @@ describe("font_post", function () {
|
|||
defaultEncoding: [],
|
||||
cMap,
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
|
|
@ -31,6 +31,9 @@ describe("font_post", function () {
|
|||
defaultEncoding: [],
|
||||
cMap,
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
@ -45,6 +48,9 @@ describe("font_post", function () {
|
|||
differences: [],
|
||||
defaultEncoding: [],
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
@ -59,6 +65,9 @@ describe("font_post", function () {
|
|||
differences: [],
|
||||
defaultEncoding: [],
|
||||
toUnicode: new ToUnicodeMap([]),
|
||||
xHeight: 0,
|
||||
capHeight: 0,
|
||||
italicAngle: 0,
|
||||
});
|
||||
const output = await ttx(font.data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue