1
0
Fork 0
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:
Jonas Jenwald 2014-09-18 16:10:46 +02:00
parent b97d2351aa
commit 3c759e296a
4 changed files with 11 additions and 0 deletions

View file

@ -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';