M13.12: docs (pdf README, parity, plug-ins), EPS Type 3 fonts reported

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 09:51:22 -04:00
co-authored by Claude Opus 5.5
parent 2f1788bdf6
commit 5db4bff461
4 changed files with 98 additions and 26 deletions
+5
View File
@@ -1555,6 +1555,11 @@ impl Interp {
/// The drawable font of a font dictionary (its base program and encoding) and the matrix
/// from text space (font size 1) to user space.
fn font_of(&mut self, d: &DictRef) -> Option<(Rc<Font>, Affine)> {
if matches!(d.borrow().get("FontType"), Some(V::Num(t)) if *t == 3.0) {
// Type 3 fonts (glyph procedures) are not run.
self.b.skip("EPS Type 3 font");
return None;
}
let (base, names) = {
let m = d.borrow();
let base = m.get("__base").or_else(|| m.get("FontName")).map(V::key)?;