From 44efff81b955c3a3df923a88474d194b15455fe7 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 18 Oct 2023 09:58:58 -0400 Subject: [PATCH] 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. --- Userland/Libraries/LibPDF/Fonts/CFF.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibPDF/Fonts/CFF.cpp b/Userland/Libraries/LibPDF/Fonts/CFF.cpp index 4bd93c65fe..5169af8334 100644 --- a/Userland/Libraries/LibPDF/Fonts/CFF.cpp +++ b/Userland/Libraries/LibPDF/Fonts/CFF.cpp @@ -188,7 +188,6 @@ PDFErrorOr> 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(); 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 { return TRY(local_subroutines.try_append(TRY(ByteBuffer::copy(subroutine_bytes)))); }));