Merge pull request #8938 from brendandahl/bug1392647
Use font's default width even when 0. (bug 1392647)
This commit is contained in:
commit
abc864fca9
@ -2083,7 +2083,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
||||
var defaultVMetrics;
|
||||
var i, ii, j, jj, start, code, widths;
|
||||
if (properties.composite) {
|
||||
defaultWidth = dict.get('DW') || 1000;
|
||||
defaultWidth = dict.has('DW') ? dict.get('DW') : 1000;
|
||||
|
||||
widths = dict.get('W');
|
||||
if (widths) {
|
||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -145,6 +145,7 @@
|
||||
!pr6531_2.pdf
|
||||
!pr7352.pdf
|
||||
!bug900822.pdf
|
||||
!bug1392647.pdf
|
||||
!issue918.pdf
|
||||
!issue1905.pdf
|
||||
!issue2833.pdf
|
||||
|
BIN
test/pdfs/bug1392647.pdf
Normal file
BIN
test/pdfs/bug1392647.pdf
Normal file
Binary file not shown.
@ -867,6 +867,13 @@
|
||||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "bug1392647",
|
||||
"file": "pdfs/bug1392647.pdf",
|
||||
"md5": "9770ea476630ca7d560b7c39430f8850",
|
||||
"rounds": 1,
|
||||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "hudsonsurvey",
|
||||
"file": "pdfs/hudsonsurvey.pdf",
|
||||
"md5": "bf0e6576a7b6c2fe7485bce1b78e006f",
|
||||
|
Loading…
Reference in New Issue
Block a user