1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00
pdf.js/src/core
Tsukasa OI 96ba6afd47 Fix copying on supplementary plane characters
pdf.js had a problem when copying characters on supplementary planes
(0xPPXXXX where PP is nonzero).  This is because certain methods of
PartialEvaluator use classic String.fromCharCode instead of ES6's
String.fromCodePoint.

Despite the fact that readToUnicode method *tried* to parse out-of-UCS2
code points by parsing UTF-16BE, it was inadequate because
String.fromCharCode only supports UCS-2 range of Unicode.
2019-02-10 18:14:53 +09:00
..
annotation.js Convert src/core/charsets.js and src/core/standard_fonts.js to ES6 syntax 2019-01-06 15:04:01 +01:00
arithmetic_decoder.js Convert src/core/arithmetic_decoder.js to ES6 syntax 2019-01-06 15:04:01 +01: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.js Fix abbreviation. 2018-09-13 13:10:38 -07: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
cff_parser.js Repair CFF fonts if stem hints are in wrong order 2018-11-20 18:50:37 +02:00
charsets.js Convert src/core/charsets.js and src/core/standard_fonts.js to ES6 syntax 2019-01-06 15:04:01 +01:00
chunked_stream.js Convert the PDFDocument class in src/core/document.js to ES6 syntax 2018-12-30 13:54:43 +01:00
cmap.js Replace String.prototype.substr() occurrences with String.prototype.substring() 2018-09-28 11:41:07 +02:00
colorspace.js Reduce unnecessary duplication of the isDefaultDecode methods on ColorSpace instances 2019-01-25 08:53:08 +01: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 Remove the for ... of loop from the PDFDocument.fingerprint getter (issue 10401) 2019-01-03 11:17:45 +01:00
encodings.js Implement unit tests for the encodings and fix missing items 2017-12-24 18:14:40 +01:00
evaluator.js Fix copying on supplementary plane characters 2019-02-10 18:14:53 +09:00
font_renderer.js Map all glyphs to the private use area and duplicate the first glyph. 2018-09-05 14:04:54 -07:00
fonts.js Convert some usage of indexOf to startsWith/includes where applicable 2019-01-18 17:57:41 +01: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 Reduce unnecessary duplication of the isDefaultDecode methods on ColorSpace instances 2019-01-25 08:53:08 +01:00
jbig2.js Expose a Jbig2Image.parse method, by re-instating the parseJbig2 function 2018-06-16 17:56:54 +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
jpeg_stream.js Add a new parameter to JpegImage.getData to indicate the source of the image data (issue 9513) 2018-09-02 14:15:22 +02:00
jpg.js Slightly improve the isSourcePDF parameter handling in JpegImage (PR 10031 follow-up) 2018-09-12 11:30:59 +02: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
jpx_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01: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 Ensure that XRef.indexObjects can handle object numbers with zero-padding (issue 10491) 2019-01-24 22:37:18 +01:00
operator_list.js Ensure that Uint8ClampedArray is used for image data transfered by getTransfers (PR 9802 follow-up) 2018-08-16 10:29:44 +02:00
parser.js Avoid truncating inline images, where the data and the "EI" marker is glued together (issue 10388) (#10436) 2019-01-12 20:31:23 +01:00
pattern.js Fix typos 2018-04-01 23:20:41 +02:00
pdf_manager.js Remove the unused url argument for the ChunkedStreamManager class 2018-12-24 13:14:42 +01:00
primitives.js Optimize the Ref class in src/core/primitives.js 2018-12-29 17:48:41 +01:00
ps_parser.js Convert src/core/charsets.js and src/core/standard_fonts.js to ES6 syntax 2019-01-06 15:04:01 +01:00
standard_fonts.js Convert src/core/charsets.js and src/core/standard_fonts.js to ES6 syntax 2019-01-06 15:04:01 +01:00
stream.js Add Glyph & Cog's XPDF copyright/license information. 2018-09-12 13:59:56 -07: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 Replace String.prototype.substr() occurrences with String.prototype.substring() 2018-09-28 11:41:07 +02:00
worker.js Check that the first page can be successfully loaded, to try and ascertain the validity of the XRef table (issue 7496, issue 10326) 2018-12-29 12:47:25 +01:00