mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-17 00:04:18 +00:00
M2: document the Arial glyph-order test (#5889)
Its explanation becomes the test's doc comment (CodeRabbit docstring coverage on #6210). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aeb7ff8391
commit
0779782951
1 file changed
+3
-2
@@ -82,10 +82,11 @@ fn without_and_with_unicode(font: Font<'_>) -> (Vec<u8>, Vec<u8>) {
|
||||
(without.rgba.to_vec(), with.rgba.to_vec())
|
||||
}
|
||||
|
||||
/// Each Arial face, as Windows exporters name it and as Word names a face it doesn't embed, draws
|
||||
/// "Low É" from its glyph indexes, with `/CIDToGIDMap /Identity` and with a map stream. The name
|
||||
/// is read without regard to case, `MT` included.
|
||||
#[test]
|
||||
fn an_arial_the_pdf_does_not_embed_draws_the_glyphs_its_codes_name() {
|
||||
// Each face as Windows exporters name it, and as Word names a face it doesn't embed. The name
|
||||
// is read without regard to case, `MT` included.
|
||||
for base_font in [
|
||||
"ArialMT",
|
||||
"Arial-BoldMT",
|
||||
|
||||
Reference in new issue
Block a user