* pdf: keep a CID font's /W2 table past an out-of-range first CID; vendor hayro-cmap from PdfCraft - hayro-interpret: a /W2 run whose first CID is past 65535 is skipped, as in /W. A run starting at 4294967295 overflowed the CID counter and discarded the whole table. Unit test in font::cid. - hayro-cmap 0.1.0 is vendored from PdfCraft a2ec27b47 with its malformed-CMap patch (PdfCraft #3177): bad bfchar/bfrange entries, an unresolvable usecmap and an unparseable tail are skipped instead of failing the whole CMap. The crate's tests come with it. Wired up like the other vendored Hayro crates (workspace exclude, patch entry, SOURCE.json, backend test script); NOTICE, ATTRIBUTION.md and vendor/README.craft-reader.md record the source. * hayro-syntax: refuse an xref-stream subsection that runs past object number u32::MAX The object number was start + i in unchecked u32: a subsection starting near u32::MAX overflowed (a panic in debug builds, a wrong object number in release). Covered in xref::tests::xref_stream_entries_need_backing_bytes. * hayro-cmap: a binary usecmap counts against the nesting limit; /W2 checks the CID first - hayro-cmap: a binary CMap's usecmap passed its own depth to the nested parse, so a self-referencing binary CMap recursed until the stack overflowed. It now counts like a text usecmap. Test: self_referencing_binary_usecmap_stops_at_the_nesting_limit. - hayro-interpret: the /W2 first-CID check runs before the run's metrics are read, so an incomplete run past CID 65535 no longer discards the rest of the table. * hayro-syntax: refuse xref-stream object numbers past i32::MAX ObjectIdentifier stores an i32; a number between i32::MAX and u32::MAX was cast to a negative object number.
10 KiB
Attribution
Third-party assets bundled in this repository (fonts, icons, images, test data), each with its author, source and license. Library code and original assets are under the repository license (MIT OR Apache-2.0, see NOTICE).
| File | Author | Source | License |
|---|---|---|---|
crates/cms/profiles/photocraft-coated-cmyk.icc |
PhotoCraft contributors; generated by craft_cms::synth::coated_cmyk |
PhotoCraft crates/cms |
CC0-1.0 |
crates/cms/profiles/craft-coated-fogra39.icc |
craft-libs contributors; generated by crates/cms/tests/fogra39.rs from the FOGRA39 data below |
this repository | CC0-1.0 |
crates/cms/tests/data/FOGRA39.txt (unmodified) |
Fogra | Fogra characterisation data, FOGRA39_to_FOGRA60_v2.zip |
Fogra terms: free use and redistribution, unmodified, with Fogra identified as the source; "FOGRA39" identifies the reference data only and implies no certification, approval or endorsement by Fogra (full text in NOTICE) |
Original assets are covered by the repository licence.
Assets embedded by the optional PDF writer
Krilla 0.8.2 bundles the following Compact ICC Profiles by Clinton Ingram, under CC0-1.0.
The immutable source revision is 3ffdf0588cf98050aad6edba51ca70162e1fb5b5, recorded by the
registry package's .cargo_vcs_info.json. These are the same dependency profiles already
used by the apps' Krilla exporters. The local backend snapshot retains these four profiles; the optional writer adds no font binaries.
The profile licence is retained in licenses/pdf-writer/LICENSE-ICC.txt.
| Crate / file | Author | Source | Licence | SHA-256 | Use |
|---|---|---|---|---|---|
krilla 0.8.2 / icc/sGrey-v2-magic.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sGrey-v2-magic.icc | CC0-1.0 | 4110169287e5f1b5149ca9f1da1814d32943905bba8030e849d1a3b729a19481 |
PDF writer colour profiles |
krilla 0.8.2 / icc/sGrey-v4.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sGrey-v4.icc | CC0-1.0 | 00c0f94e09127520a17dc0e1d9264b5702081d96dbdb1549ee88e3631ce42a9d |
PDF writer colour profiles |
krilla 0.8.2 / icc/sRGB-v2-magic.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v2-magic.icc | CC0-1.0 | af4efe28f6d311799865f325ba39184a2e978b113ca74124d60af7de22b105f4 |
PDF writer colour profiles |
krilla 0.8.2 / icc/sRGB-v4.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v4.icc | CC0-1.0 | c56e1685d888f5edb92fe07f2750f387f8fe8e91b32ff8fb0b56bfbbb9458353 |
PDF writer colour profiles |
The four Krilla ICC entries above are also stored unchanged in vendor/krilla/icc.
The vendored source patch and per-file hashes are recorded in vendor/krilla/README.craft.md and vendor/krilla/SOURCE.json.
Assets retained with the optional PDF reader
The shared reader centralizes the five patched Hayro source trees from PdfCraft.
The standard-14 fonts, CMYK profile and generated metrics listed below remain byte-identical
in vendor/hayro-interpret, and the CMaps in vendor/hayro-cmap/assets; no application
document fonts are added. The removed upstream LAB.icc profile is not restored. Source hashes
and the exact transfer revision are recorded in each vendored crate's SOURCE.json.
| Crate / file | Author | Source | Licence | SHA-256 | Use |
|---|---|---|---|---|---|
hayro-interpret 0.7.0 / assets/FoxitDingbats.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitDingbats.pfb | BSD-3-Clause | 845c752392b6c914fb989c75a08b7792b88f542d2499042ef2889f8c814a16ed |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixed.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixed.pfb | BSD-3-Clause | b6c8fe53f134b8b6d4578cd2d544df4cee9624c4efa8d51a560fb40ea296101b |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedBold.pfb | BSD-3-Clause | f1b7159702973f54fc86254ea38bcf3712b2a736eb3a0995751e9f4bb45ad603 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedBoldItalic.pfb | BSD-3-Clause | 8a000945843bd31add06aee63bf9fd41b7578b4f3242a4b7cd46349ad9d24d4d |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedItalic.pfb | BSD-3-Clause | 5007faf8320fa1fcc08b8894b356ad976f60b992ba29ee5272578bbdebaf3876 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSans.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSans.pfb | BSD-3-Clause | a02339e95d20db14cbdfc1c6baf359cd36a091d5434925c3a4040f60e1a1af9e |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansBold.pfb | BSD-3-Clause | 7bdfa36de1d5757dcfaf8b8a4be95c6e41c40fa70dbed9d78bf979a7b9959054 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansBoldItalic.pfb | BSD-3-Clause | 555ce45924338e2e4b32821910221ce85da691fd59a9723c4c971a7c5627fc8b |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansItalic.pfb | BSD-3-Clause | 7751cbefeda351708dae8c4a88db043411bc39ab2ae2097685da845d4d16f307 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerif.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerif.pfb | BSD-3-Clause | 4f57d2b9d884af8f907bf22df6019b52d86cbf6214fdbd02b1ae05472a543f35 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifBold.pfb | BSD-3-Clause | 0bdf4b04e964139818d51eda03d566ba999fc3ba2421b1c6c51f9dc969022e80 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifBoldItalic.pfb | BSD-3-Clause | a406cac82583bf98175cb62c87ed5e95c45fbb34eece63a10b0a13e793cb2e10 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifItalic.pfb | BSD-3-Clause | 610ae0687198045c4db5d1a6650fd5e92536631706382eb8b72e38df578d0ae9 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSymbol.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSymbol.pfb | BSD-3-Clause | 47967d055530e7357088a08403115425643ec2cdfd6201ba8af0fbd7116c1539 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/CGATS001Compat-v2-micro.icc |
Clinton Ingram (saucecontrol/Compact-ICC-Profiles) | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/CGATS001Compat-v2-micro.icc | CC0-1.0 | 73e1ba37d2bad5bab2a964f40a9eed96209666efc067c3322626214bbef234a0 |
Default CMYK colour conversion (pinned hayro-interpret) |
hayro-cmap 0.1.0 / assets/cmaps.brotli |
Adobe | https://github.com/storytold/pdfcraft/blob/a2ec27b4775f53c40cad3456936d9406611e3a8d/vendor/hayro-cmap/assets/cmaps.brotli | BSD-3-Clause | ddf37af521d904d5646c2fc37b2b7e912dc1b56f0d210190b61f598154758e46 |
Character-code mapping tables required to read CJK PDFs. Non-visual dependency data; existing embedding unchanged |
hayro-interpret 0.7.0 / src/font/generated/metrics.rs |
Adobe (Core 14 AFM metrics, PDF specification encodings); tables by The Hayro Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/src/font/generated/metrics.rs | MIT OR Apache-2.0 | 2ec9e608573eda459de1e1d9bda3bb494315e36bee885acc88912a11fe0caa41 |
Glyph widths and encodings for non-embedded standard fonts. Non-visual dependency data; existing embedding unchanged |