mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibPDF: Account for other endings of PS1 Encoding array
This commit is contained in:
parent
a533ea7ae6
commit
82bd854d6f
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ PDFErrorOr<Vector<ByteBuffer>> PS1FontProgram::parse_subroutines(Reader& reader)
|
||||||
} else {
|
} else {
|
||||||
array[index] = TRY(ByteBuffer::copy(entry.bytes()));
|
array[index] = TRY(ByteBuffer::copy(entry.bytes()));
|
||||||
}
|
}
|
||||||
} else if (word == "index") {
|
} else if (word == "index" || word == "def" || word == "ND") {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue