pdf.js/src/core
Brendan Dahl 5f67a6a237 Always fallback to system font on font failure.
The font in the PDF is marked as a CIDFontType0, but the font file is
actually a true type font. To fully address this issue we should really
peek into the font file and try to determine what it is. However, this
is the first case of this issue, so I think this solution is acceptable for
now.
2018-08-03 16:49:22 -07:00
..
annotation.js Remove manual clamping/rounding from ColorSpace and PDFImage, by having their methods use Uint8ClampedArrays 2018-06-12 11:01:32 +02:00
arithmetic_decoder.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
bidi.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
ccitt_stream.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
ccitt.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
cff_parser.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
charsets.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
chunked_stream.js Make the getBytes/peekBytes methods of Stream/DecodeStream/ChunkedStream able to return Uint8ClampedArrays 2018-06-12 11:01:32 +02:00
cmap.js Convert CMap and IdentityCMap to ES6 classes 2018-07-09 21:12:01 +02:00
colorspace.js Removed Extraneous Matrix Check in CalRGB Conversion 2018-08-02 10:16:42 -07:00
crypto.js Implement the AESBaseCipher class and let the AES128Cipher and AES256Cipher classes extend it 2018-02-03 20:16:33 +01:00
document.js Merge pull request #9920 from Snuffleupagus/getMetadata-linearization 2018-07-29 20:23:22 +02:00
encodings.js Implement unit tests for the encodings and fix missing items 2017-12-24 18:14:40 +01:00
evaluator.js Ensure that the CIDSystemInfo strings, in Type0 fonts, are correctly decoded 2018-07-29 23:06:15 +02:00
font_renderer.js Convert CompiledFont, TrueTypeCompiled, and Type2Compiled to ES6 classes 2018-07-09 21:12:01 +02:00
fonts.js Always fallback to system font on font failure. 2018-08-03 16:49:22 -07:00
function.js Use Dict.getArray, instead of Dict.get, when getting the 'Size' in constructSampled in src/core/function.js (PR 7295 follow-up) 2018-06-02 11:16:05 -04:00
glyphlist.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
image.js Prefer the Width/Height of the image data, rather than the image dictionary, for JPEG 2000 images (issue 9650) 2018-08-01 16:42:26 +02:00
jbig2_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
jbig2.js Expose a Jbig2Image.parse method, by re-instating the parseJbig2 function 2018-06-16 17:56:54 +02:00
jpeg_stream.js Change the signature of the JpegImage constructor, to allow passing in various options directly 2018-06-16 17:56:54 +02:00
jpg.js Change the signature of the JpegImage constructor, to allow passing in various options directly 2018-06-16 17:56:54 +02:00
jpx_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
jpx.js Add more validation of the /Filter entry, in image dictionaries, to the PDFImage constructor 2018-08-01 16:41:15 +02:00
metrics.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
murmurhash3.js [api-major] Remove the TypedArray polyfills 2017-11-01 10:31:28 +01:00
obj.js Merge pull request #9931 from Snuffleupagus/refactor-getPage 2018-07-29 19:33:46 +02:00
operator_list.js Replace Util.extendObj by Object.assign 2018-06-10 20:11:03 +02:00
parser.js Let Lexer.getNumber treat a single decimal point as zero (issue 9252) 2018-06-20 13:41:21 +02:00
pattern.js Fix typos 2018-04-01 23:20:41 +02:00
pdf_manager.js Convert src/code/pdf_manager.js to ES6 classes/syntax 2018-07-08 16:43:46 +02:00
primitives.js Replace the isArray helper function with the native Array.isArray function 2017-09-01 20:27:13 +02:00
ps_parser.js Removes error() 2017-07-07 09:40:24 -05:00
standard_fonts.js Add a fallback for non-embedded LucidaSans-Demi fonts (issue 9291) 2017-12-24 17:36:58 +01:00
stream.js Attempt to estimate the minimum required buffer length when initializing StreamsSequenceStream instances 2018-07-26 13:42:59 +02:00
type1_parser.js Remove usage of makeSubStream from Type1Parser.extractFontProgram in src/core/type1_parser.js (issue 9735) 2018-05-28 14:32:20 +02:00
unicode.js For non-embedded fonts, map softhyphen (0x00AD) to regular hyphen (0x002D) (issue 9084) 2017-10-31 13:26:04 +01:00
worker.js Add a TESTING build option, to enable using non-production/test-only code-paths 2018-06-12 11:01:32 +02:00