pdf.js/src/core
Jonas Jenwald 8540b4cc76 Stop calling Font.charsToGlyphs, in src/core/annotation.js, with unused arguments
As can be seen in `src/core/fonts.js`, this method only accepts *one* parameter, hence it's somewhat difficult to understand what the Annotation-code is actually attempting to do here.
The only possible explanation that I can imagine, is that the intention was initially to call `Font.charToGlyph` *directly* instead. However, note that that'd would not actually have been correct, since that'd ignore one level of font-caching (see `this.charsCache`). Hence the unused arguments are removed, in `src/core/annotation.js`, and the `Font.charToGlyph` method is now marked as "private" as intended.
2020-10-30 13:17:52 +01:00
..
.eslintrc Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
annotation.js Stop calling Font.charsToGlyphs, in src/core/annotation.js, with unused arguments 2020-10-30 13:17:52 +01:00
arithmetic_decoder.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
bidi.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
ccitt_stream.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
ccitt.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
cff_parser.js Fix invalid XUID entries in CFF fonts 2020-10-05 17:38:01 +03:00
charsets.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
chunked_stream.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
cmap.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
colorspace.js Remove the special handling, used when creating Indexed ColorSpaces, for the case where the lookup-data is a Stream 2020-07-10 17:22:55 +02:00
core_utils.js Add a getArrayLookupTableFactory helper function and use it to re-format src/core/{glyphlist, unicode}.js 2020-10-26 11:08:00 +01:00
crypto.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
document.js Prevent issues, in PDFDocument.fieldObjects, for invalid Annotations 2020-10-22 13:24:43 +02:00
encodings.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
evaluator.js Fix *some* errors reported by the ESLint no-useless-escape rule 2020-10-29 15:40:40 +01:00
font_renderer.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
fonts.js Stop calling Font.charsToGlyphs, in src/core/annotation.js, with unused arguments 2020-10-30 13:17:52 +01:00
function.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
glyphlist.js Add a getArrayLookupTableFactory helper function and use it to re-format src/core/{glyphlist, unicode}.js 2020-10-26 11:08:00 +01:00
image_utils.js Add local caching of TilingPatterns in PartialEvaluator.getOperatorList (issue 2765 and 8473) 2020-10-08 18:43:21 +02:00
image.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
jbig2_stream.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jbig2.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
jpeg_stream.js [api-minor] Decode all JPEG images with the built-in PDF.js decoder in src/core/jpg.js 2020-05-22 00:22:48 +02:00
jpg.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
jpx_stream.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jpx.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
metrics.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
murmurhash3.js Ensure that MurmurHash3_64.update handles ArrayBuffer input correctly, to avoid hash-collisions (issue 12533) 2020-10-26 16:27:33 +01:00
obj.js Use a Map, rather than an Object, internally in the Catalog.openAction getter (PR 11644 follow-up) 2020-10-28 14:43:28 +01:00
operator_list.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
parser.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
pattern.js Add local caching of TilingPatterns in PartialEvaluator.getOperatorList (issue 2765 and 8473) 2020-10-08 18:43:21 +02:00
pdf_manager.js Allow GlobalImageCache.clear to, optionally, only remove the actual data (PR 11912 follow-up) 2020-05-23 11:30:24 +02:00
primitives.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
ps_parser.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
standard_fonts.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
stream.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
type1_parser.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
unicode.js Add a getArrayLookupTableFactory helper function and use it to re-format src/core/{glyphlist, unicode}.js 2020-10-26 11:08:00 +01:00
worker_stream.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00
worker.js JS - Add a function in api to get the fields ids in AcroForm::CO 2020-10-17 12:56:40 +02:00
writer.js Re-factor how the ESLint no-var rule is enabled in the src/ folder 2020-10-03 20:15:29 +02:00