1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Jonas Jenwald 839e23f5c2 Send disableFontFace and fontExtraProperties as part of the exported font-data
These options are needed in the `FontFaceObject` class, and indirectly in `FontLoader` as well, which means that we currently need to pass them around manually in the API.
Given that the options are (obviously) available on the worker-thread, it's very easy to just provide them when creating `Font`-instances and then send them as part of the exported font-data. This way we're able to simplify the code (primarily on the main-thread), and note that `Font`-instances even had a `disableFontFace`-field already (but it wasn't properly initialized).
2025-02-24 09:34:48 +01:00
..
core Send disableFontFace and fontExtraProperties as part of the exported font-data 2025-02-24 09:34:48 +01:00
display Send disableFontFace and fontExtraProperties as part of the exported font-data 2025-02-24 09:34:48 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api [JS] Skip throwing actions 2025-02-17 21:58:20 +01:00
shared Introduce some URL.parse() usage in the code-base 2025-02-15 19:10:36 +01:00
interfaces.js Ensure that the response-origin of range requests match the full request (issue 12744) 2024-11-24 10:08:29 +01:00
license_header.js Update the year in the license_header files 2024-07-02 14:34:59 +02:00
license_header_libre.js Update the year in the license_header files 2024-07-02 14:34:59 +02:00
pdf.image_decoders.js [api-minor] Remove the image-related error message prefixes 2024-04-20 12:51:45 +02:00
pdf.js Merge pull request #19425 from calixteman/signature_save 2025-02-10 19:20:32 +01:00
pdf.sandbox.external.js Avoid to call a function in the js sandbox when it has been destroyed 2024-06-18 22:30:21 +02:00
pdf.sandbox.js Enable the ESLint no-console rule in parts of the code-base 2024-11-14 12:41:39 +01:00
pdf.scripting.js Output pdf.scripting.js as a JavaScript module (PR 17055 follow-up) 2023-10-07 15:27:26 +02:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00