1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibPDF: Remove a dbgln() call in CFF subrs decoding

This code is a lot more reliable now than it used to be, and this
dbgln() is quite noisy for some files. So let's remove it.
This commit is contained in:
Nico Weber 2023-10-18 09:58:58 -04:00 committed by Tim Flynn
parent bc4dadde32
commit 44efff81b9

View file

@ -188,7 +188,6 @@ PDFErrorOr<NonnullRefPtr<CFF>> CFF::create(ReadonlyBytes const& cff_bytes, RefPt
// "Local subrs are stored in an INDEX structure which is located via the offset operand of the Subrs operator in the Private DICT."
auto subrs_offset = operands[0].get<int>();
Reader subrs_reader { cff_bytes.slice(private_dict_offset + subrs_offset) };
dbgln("Parsing Subrs INDEX");
TRY(parse_index(subrs_reader, [&](ReadonlyBytes const& subroutine_bytes) -> PDFErrorOr<void> {
return TRY(local_subroutines.try_append(TRY(ByteBuffer::copy(subroutine_bytes))));
}));