From aae80a161ca9796ebdd467c01d953b22495f4df9 Mon Sep 17 00:00:00 2001 From: Svetlana Kulikova Date: Thu, 13 Jun 2024 18:04:39 +0300 Subject: [PATCH] Clear --- PdfFile/SrcReader/RendererOutputDev.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/PdfFile/SrcReader/RendererOutputDev.cpp b/PdfFile/SrcReader/RendererOutputDev.cpp index 7b3c60ab3a..8a1004d59c 100644 --- a/PdfFile/SrcReader/RendererOutputDev.cpp +++ b/PdfFile/SrcReader/RendererOutputDev.cpp @@ -1177,11 +1177,6 @@ namespace PdfReader if (oDictItem.isName()) sFontFamily = oDictItem.getName(); oDictItem.free(); - // FontStretch - // oFontDescriptor.dictLookup("FontStretch", &oDictItem); - // if (oDictItem.isName()) sFontStretch = oDictItem.getName(); - // oDictItem.free(); - // FontWeight oFontDescriptor.dictLookup("FontWeight", &oDictItem); if (oDictItem.isInt()) nFontWeight = oDictItem.getInt(); @@ -1210,11 +1205,6 @@ namespace PdfReader if (oDictItem.isInt()) nAscent = oDictItem.getInt(); oDictItem.free(); - // Leading - // oFontDescriptor.dictLookup("Leading", &oDictItem); - // if (oDictItem.isInt()) nLeading = oDictItem.getInt(); - // oDictItem.free(); - // CapHeight oFontDescriptor.dictLookup("CapHeight", &oDictItem); if (oDictItem.isInt()) nCapHeight = oDictItem.getInt(); @@ -1240,16 +1230,6 @@ namespace PdfReader if (oDictItem.isInt()) nDescent = oDictItem.getInt(); oDictItem.free(); - // AvgWidth - // oFontDescriptor.dictLookup("AvgWidth", &oDictItem); - // if (oDictItem.isInt()) nAvgWidth = oDictItem.getInt(); - // oDictItem.free(); - - // MaxWidth - // oFontDescriptor.dictLookup("MaxWidth", &oDictItem); - // if (oDictItem.isInt()) nMaxWidth = oDictItem.getInt(); - // oDictItem.free(); - // MissingWidth oFontDescriptor.dictLookup("MissingWidth", &oDictItem); if (oDictItem.isInt()) nMissingWidth = oDictItem.getInt();