1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00
pdf.js/src/display
Jonas Jenwald 319d239f41 Add an OutputScale static method to get the devicePixelRatio
Currently we lookup the `devicePixelRatio`, with fallback handling, in a number of spots in the code-base.
Rather than duplicating code we can instead add a new static method in the `OutputScale` class, since that one is now exposed in the API.
2025-03-12 21:07:06 +01:00
..
editor [Editor] Add an aria label to an added signature (bug 1952571) 2025-03-10 19:15:05 +01:00
annotation_layer.js [api-major] Apply the userUnit using CSS, to fix the text/annotation layers (bug 1947248) 2025-02-11 14:36:06 +01:00
annotation_storage.js [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +02:00
api.js [api-minor] Use an icc profile for converting CMYK to RGB 2025-03-10 14:18:20 +01:00
canvas.js Add an OutputScale static method to get the devicePixelRatio 2025-03-12 21:07:06 +01:00
canvas_factory.js Move the various DOM-factories into their own files 2024-11-01 13:31:28 +01:00
cmap_reader_factory.js Move the various DOM-factories into their own files 2024-11-01 13:31:28 +01:00
content_disposition.js Enable the unicorn/prefer-optional-catch-binding ESLint plugin rule 2023-06-12 11:46:11 +02:00
display_utils.js Add an OutputScale static method to get the devicePixelRatio 2025-03-12 21:07:06 +01:00
draw_layer.js [Editor] Set a unique id for each element in the draw layer 2025-01-08 20:44:15 +01:00
fetch_stream.js [api-major] Replace MissingPDFException and UnexpectedResponseException with one exception 2025-01-16 22:51:05 +01:00
filter_factory.js Improve clean-up of #_hcmCache-data in DOMFilterFactory.prototype.destroy 2024-11-17 15:31:42 +01:00
font_loader.js Merge pull request #19548 from Snuffleupagus/Font-exportData-disableFontFace-fontExtraProperties 2025-02-26 11:25:29 +01:00
metadata.js Convert Metadata to use private class fields 2021-10-22 22:01:19 +02:00
network.js [api-major] Replace MissingPDFException and UnexpectedResponseException with one exception 2025-01-16 22:51:05 +01:00
network_utils.js Introduce some URL.parse() usage in the code-base 2025-02-15 19:10:36 +01:00
node_stream.js [api-major] Replace MissingPDFException and UnexpectedResponseException with one exception 2025-01-16 22:51:05 +01:00
node_utils.js [api-major] Add openjpeg.wasm to pdf.js (bug 1935076) 2025-01-16 21:09:50 +01:00
optional_content_config.js Optional Content (OC) radiobutton (RB) groups implemented. Resolves #18823. 2024-10-15 11:34:45 +02:00
pattern_helper.js Access the bbox/background data correctly in the MeshShadingPattern class (issue 18816) 2025-01-08 15:57:56 +01:00
standard_fontdata_factory.js Move the various DOM-factories into their own files 2024-11-01 13:31:28 +01:00
stubs.js [api-major] Add openjpeg.wasm to pdf.js (bug 1935076) 2025-01-16 21:09:50 +01:00
svg_factory.js Move the various DOM-factories into their own files 2024-11-01 13:31:28 +01:00
text_layer.js Add an OutputScale static method to get the devicePixelRatio 2025-03-12 21:07:06 +01:00
touch_manager.js Add an OutputScale static method to get the devicePixelRatio 2025-03-12 21:07:06 +01:00
transport_stream.js [api-minor] Replace the PromiseCapability with Promise.withResolvers() 2024-04-01 11:42:37 +02:00
wasm_factory.js [api-major] Add openjpeg.wasm to pdf.js (bug 1935076) 2025-01-16 21:09:50 +01:00
worker_options.js [api-minor] Validate the workerPort/workerSrc options 2024-01-12 17:13:32 +01:00
xfa_layer.js Use even more optional chaining in the code-base 2023-11-02 16:47:33 +01:00
xfa_text.js Fix JSDoc types 2023-08-31 13:09:52 +02:00