mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibPDF: Ignore seac PS1 commands for now
This command is meant to print an Standard Encoding Accented Character. It's not critical to implement it yet, but if we want to render more documents we need to handle the instruction, even if simply ignore it.
This commit is contained in:
parent
8353df03a8
commit
41bd304a7f
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ enum ExtendedCommand {
|
|||
DotSection,
|
||||
VStem3,
|
||||
HStem3,
|
||||
Seac = 6,
|
||||
Div = 12,
|
||||
CallOtherSubr = 16,
|
||||
Pop,
|
||||
|
@ -315,6 +316,7 @@ PDFErrorOr<PS1FontProgram::Glyph> PS1FontProgram::parse_glyph(ReadonlyBytes cons
|
|||
case DotSection:
|
||||
case VStem3:
|
||||
case HStem3:
|
||||
case Seac:
|
||||
// FIXME: Do something with these?
|
||||
state.sp = 0;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue