mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add support for MMType1 fonts with embedded font files
This commit is contained in:
parent
b97d2351aa
commit
3c759e296a
4 changed files with 11 additions and 0 deletions
|
@ -2546,6 +2546,9 @@ var Font = (function FontClosure() {
|
|||
|
||||
var data;
|
||||
switch (type) {
|
||||
case 'MMType1':
|
||||
info('MMType1 font (' + name + '), falling back to Type1.');
|
||||
/* falls through */
|
||||
case 'Type1':
|
||||
case 'CIDFontType0':
|
||||
this.mimetype = 'font/opentype';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue