Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

M2: the vendor note names the function and the flag the code tests (#4156)

mtlcl410be60c6d27fd6
diff --git a/vendor/README.md b/vendor/README.md
index 98ef1b4c1..3ea194811 100644
--- a/vendor/README.md
+++ b/vendor/README.md
@@ -100,9 +100,10 @@ and `japanese_substitute_spaces_keep_pdf_widths_and_unicode` use the synthetic
MS-Mincho / UniJIS-UCS2-HW-H fixture with craft-fonts, including `/W` and `/DW`
placement controls.
-Symbolic TrueType `cmap` order (#4156): in `hayro-interpret` `TrueTypeFont::map_code`, a
-symbolic font (no `/Encoding`, or the Symbolic flag) looks a code up in its Windows (3, 0) or
-(3, 1) subtables before its Macintosh and Unicode ones, as ISO 32000-2 §9.6.5.4 prescribes; the
+Symbolic TrueType `cmap` order (#4156): in `hayro-interpret` `EmbeddedKind::map_code`, an
+embedded TrueType font whose Nonsymbolic flag is not set (the branch `is_non_symbolic()` does not
+take) looks a code up in its Windows (3, 0) or (3, 1) subtables before its Macintosh and Unicode
+ones, as ISO 32000-2 §9.6.5.4 prescribes for symbolic fonts; the
(1, 0) subtable still serves codes the (3, x) ones leave out. The records were tried in the
order the font lists them, platform ID first, so a wrong (1, 0) table (SAS 9.4's AMT fonts)
drew "8" as "p" and "+" as "V". Covered by `raster::tests::symbolic_truetype_cmap`, whose font