Procházet zdrojové kódy

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.
Nico Weber před 1 rokem
rodič
revize
44efff81b9
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      Userland/Libraries/LibPDF/Fonts/CFF.cpp

+ 0 - 1
Userland/Libraries/LibPDF/Fonts/CFF.cpp

@@ -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))));
                         }));