mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #8938 from brendandahl/bug1392647
Use font's default width even when 0. (bug 1392647)
This commit is contained in:
commit
abc864fca9
4 changed files with 9 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue