Merge pull request #12924 from brendandahl/fix-clone
Fix font data clone error when pdfBug is enabled.
This commit is contained in:
commit
8805614a03
@ -3196,7 +3196,7 @@ class PartialEvaluator {
|
||||
|
||||
getBaseFontMetrics(name) {
|
||||
var defaultWidth = 0;
|
||||
var widths = [];
|
||||
var widths = Object.create(null);
|
||||
var monospace = false;
|
||||
var stdFontMap = getStdFontMap();
|
||||
var lookupName = stdFontMap[name] || name;
|
||||
|
Loading…
Reference in New Issue
Block a user