mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
LibPDF: Always log unhandled type 1 and type 2 font program opcodes
This would've made it easy to see that we were missing flex opcodes for https://developer.apple.com/library/archive/documentation/mac/pdf/Text.pdf
This commit is contained in:
parent
e1a743f286
commit
d24289eef4
1 changed files with 2 additions and 2 deletions
|
@ -629,7 +629,7 @@ PDFErrorOr<Type1FontProgram::Glyph> Type1FontProgram::parse_glyph(ReadonlyBytes
|
|||
}
|
||||
|
||||
default:
|
||||
dbgln_if(PDF_DEBUG, "Unhandled command: 12 {}", data[i]);
|
||||
dbgln("Unhandled command: 12 {}", data[i]);
|
||||
return error("Unhandled command");
|
||||
}
|
||||
break;
|
||||
|
@ -714,7 +714,7 @@ PDFErrorOr<Type1FontProgram::Glyph> Type1FontProgram::parse_glyph(ReadonlyBytes
|
|||
}
|
||||
|
||||
default:
|
||||
dbgln_if(PDF_DEBUG, "Unhandled command: {}", v);
|
||||
dbgln("Unhandled command: {}", v);
|
||||
return error("Unhandled command");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue