mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
deal with apparent lack of FontDescriptor for standard fonts
This commit is contained in:
parent
7f582fb322
commit
5dc5455959
2 changed files with 8 additions and 2 deletions
3
test.py
3
test.py
|
@ -287,9 +287,10 @@ def processResults():
|
|||
|
||||
def main(args):
|
||||
masterMode = False
|
||||
manifestFile = DEFAULT_MANIFEST_FILE
|
||||
if len(args) == 1:
|
||||
masterMode = (args[0] == '-m')
|
||||
manifestFile = args[0] if not masterMode else DEFAULT_MANIFEST_FILE
|
||||
manifestFile = args[0] if not masterMode else manifestFile
|
||||
|
||||
setUp(manifestFile, masterMode)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue