mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
nits, picked
This commit is contained in:
parent
8dbbbbb589
commit
06986bb15f
2 changed files with 9 additions and 10 deletions
3
pdf.js
3
pdf.js
|
@ -3634,8 +3634,7 @@ var PartialEvaluator = (function() {
|
|||
// - get the descendant font
|
||||
// - set the type according to the descendant font
|
||||
// - get the FontDescriptor from the descendant font
|
||||
if (subType.name == 'Type0')
|
||||
{
|
||||
if (subType.name == 'Type0') {
|
||||
var df = fontDict.get('DescendantFonts');
|
||||
if (!df)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue