1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 17:18:07 +02:00
pdf.js/src/core
Calixte Denizet 9d82106d20 Set the text fields font size based on their height
- right now we're using the font size from the pdf itself but we use an other font
  in the annotation layer. So this size doesn't really make sense and leads to bad
  rendering (see pdf in #14928);
- use a sans-serif font for the fields containing text (fix issue #14736);
- remove useless padding in text-based fields (fix issue #14301);
- text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this
  value to hide/show scrollbars in annotation layer.
2022-05-28 18:00:39 +02:00
..
xfa Use correct case for JavaScript 2022-04-21 23:56:28 +08:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
annotation.js Set the text fields font size based on their height 2022-05-28 18:00:39 +02: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
ascii_85_stream.js Fix the remaining ESLint operator-assignment errors 2021-07-04 15:23:56 +02:00
ascii_hex_stream.js Fix the remaining ESLint operator-assignment errors 2021-07-04 15:23:56 +02:00
base_stream.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
bidi.js Tweak the Bidi-detection heuristics for very short RTL strings (issue 11656) 2021-11-03 20:31:57 +01:00
calibri_factors.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
catalog.js Support encoded dest-strings in /GoTo destination dictionaries (issue 14864) 2022-05-02 10:14:32 +02:00
ccitt.js Prevent an infinite loop when parsing corrupt /CCITTFaxDecode data (issue 14305) 2021-12-07 13:57:25 +01:00
ccitt_stream.js Prefer instanceof Dict rather than calling isDict() with one argument 2022-02-21 12:44:56 +01:00
cff_font.js Include and use the 14 standard fonts files. 2021-06-07 11:10:11 -07:00
cff_parser.js Correct typos 2022-04-09 09:43:18 +09:00
charsets.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
chunked_stream.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
cleanup_helper.js Add a (global) cache to the getCharUnicodeCategory function 2022-01-25 09:59:34 +01:00
cmap.js Remove the isString helper function 2022-02-26 16:33:41 +01:00
colorspace.js Prefer instanceof Name rather than calling isName() with one argument 2022-02-21 12:45:00 +01:00
core_utils.js Display background when printing or saving a text widget (issue #14928) 2022-05-19 16:41:54 +02:00
crypto.js Prefer instanceof Name rather than calling isName() with one argument 2022-02-21 12:45:00 +01:00
dataset_reader.js Refactor some xfa*** getters in document.js 2022-04-03 20:38:12 +02:00
decode_stream.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
decrypt_stream.js Move the DecodeStream and StreamsSequenceStream from src/core/stream.js and into its own file 2021-04-28 10:16:51 +02:00
default_appearance.js Display background when printing or saving a text widget (issue #14928) 2022-05-19 16:41:54 +02:00
document.js Refactor some xfa*** getters in document.js 2022-04-03 20:38:12 +02:00
encodings.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
evaluator.js Skip bogus d1 operators in Type3-glyphs (issue 14953) 2022-05-24 12:20:31 +02:00
file_spec.js Prefer instanceof Dict rather than calling isDict() with one argument 2022-02-21 12:44:56 +01:00
flate_stream.js Remove some, with Prettier 2.3.0, unnecessary // prettier-ignore comments 2021-05-19 11:36:03 +02:00
font_renderer.js Font renderer - get int8 instead of uint8 in composite glyphes (bug 1749563) 2022-01-18 22:06:23 +01:00
fonts.js Add support for TrueType format 12 cmaps (issue 14881) 2022-05-06 11:11:38 +02:00
fonts_utils.js Include and use the 14 standard fonts files. 2021-06-07 11:10:11 -07:00
function.js Re-factor the isLittleEndian/isEvalSupported caching 2022-04-05 16:01:01 +02:00
glyf.js Font renderer - get int8 instead of uint8 in composite glyphes (bug 1749563) 2022-01-18 22:06:23 +01:00
glyphlist.js Enable the no-var linting rule in src/core/glyphlist.js 2021-02-27 12:46:57 +01:00
helvetica_factors.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
image.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
image_utils.js Add general iteration support in the RefSet and RefSetCache classes 2022-03-18 14:27:34 +01:00
jbig2.js Use TypedArray.prototype.fill() a bit more in the code-base 2022-05-13 12:42:51 +02:00
jbig2_stream.js Prefer instanceof Dict rather than calling isDict() with one argument 2022-02-21 12:44:56 +01:00
jpeg_stream.js Prefer instanceof Dict rather than calling isDict() with one argument 2022-02-21 12:44:56 +01:00
jpg.js Enable the ESLint no-loss-of-precision rule 2021-11-14 10:48:50 +01:00
jpx.js [JPEG 2000] Add support for resetContextProbabilities (bug 1731483) 2022-02-26 13:05:23 +01:00
jpx_stream.js Stop special-casing the dict parameter in the Jbig2Stream/JpegStream/JpxStream constructors 2021-04-28 13:44:47 +02:00
liberationsans_widths.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
lzw_stream.js Move the DecodeStream and StreamsSequenceStream from src/core/stream.js and into its own file 2021-04-28 10:16:51 +02:00
metadata_parser.js Move the XML-parser to the src/core/-folder 2021-02-17 13:12:01 +01:00
metrics.js [api-minor] Annotations - Adjust the font size in text field in considering the total width (bug 1721335) 2022-01-30 15:53:31 +01:00
myriadpro_factors.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
name_number_tree.js Support destinations in NameTrees with encoded keys (issue 14847) 2022-04-27 11:19:55 +02:00
object_loader.js Remove the isStream helper function 2022-02-17 13:51:36 +01:00
opentype_file_builder.js Convert src/core/opentype_file_builder.js to use standard classes 2021-05-02 21:00:28 +02:00
operator_list.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
parser.js Update npm packages 2022-03-20 10:59:13 +01:00
pattern.js Remove the isStream helper function 2022-02-17 13:51:36 +01:00
pdf_manager.js Add support for the /Catalog Base-URI when resolving URLs (issue 14802) 2022-04-19 17:14:52 +02:00
predictor_stream.js Prefer instanceof Dict rather than calling isDict() with one argument 2022-02-21 12:44:56 +01:00
primitives.js Add general iteration support in the RefSet and RefSetCache classes 2022-03-18 14:27:34 +01:00
ps_parser.js Remove the closure used with the PostScriptToken class 2021-07-24 13:05:46 +02:00
run_length_stream.js Move the DecodeStream and StreamsSequenceStream from src/core/stream.js and into its own file 2021-04-28 10:16:51 +02:00
segoeui_factors.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
standard_fonts.js Fallback to font name matching, when checking for serif fonts (issue 13845) 2021-09-23 01:11:57 +02:00
stream.js [api-minor] Remove the forceClamped-functionality in the Streams (issue 14849) 2022-04-29 14:46:30 +02:00
struct_tree.js Correct typos 2022-04-09 09:43:18 +09:00
to_unicode_map.js Convert src/core/to_unicode_map.js to use standard classes 2021-05-02 21:00:29 +02:00
type1_font.js Remove unnecessary MissingDataException check from getHeaderBlock 2021-05-03 13:57:30 +02:00
type1_parser.js Support Type1 font files with incomplete /CharStrings definitions (issue 14462) 2022-01-17 18:55:22 +01:00
unicode.js Add a (global) cache to the getCharUnicodeCategory function 2022-01-25 09:59:34 +01:00
worker.js Correct typos 2022-04-09 09:43:18 +09:00
worker_stream.js Replace a bunch of Array.prototype.forEach() cases with for...of loops instead 2021-04-24 13:00:19 +02:00
writer.js Display background when printing or saving a text widget (issue #14928) 2022-05-19 16:41:54 +02:00
xfa_fonts.js XFA - Fix font scale factors (bug 1720888) 2021-07-28 19:10:42 +02:00
xml_parser.js [Annotations] Some annotations can have their values stored in the xfa:datasets 2022-04-01 10:28:04 +02:00
xref.js [api-minor] Clear all caches in XRef.indexObjects, and improve /Root dictionary validation in XRef.parse (issue 14303) 2021-12-03 11:57:38 +01:00