From b924003d35048babcf86d6b8cc0aef9e3ad33173 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 14 Aug 2018 20:22:40 +0000 Subject: Remove unreachable vertical text code in CPDF_Document. Change-Id: I64b34da202a0f1c30a38cba2f24490aad4063828 Reviewed-on: https://pdfium-review.googlesource.com/40150 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- fpdfsdk/cfx_systemhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/cfx_systemhandler.cpp b/fpdfsdk/cfx_systemhandler.cpp index 99aff8c6f8..e33e433531 100644 --- a/fpdfsdk/cfx_systemhandler.cpp +++ b/fpdfsdk/cfx_systemhandler.cpp @@ -106,7 +106,7 @@ CPDF_Font* CFX_SystemHandler::AddNativeTrueTypeFontToPDF( auto pFXFont = pdfium::MakeUnique(); pFXFont->LoadSubst(sFontFaceName, true, 0, 0, 0, FX_GetCodePageFromCharset(nCharset), false); - return pDoc->AddFont(pFXFont.get(), nCharset, false); + return pDoc->AddFont(pFXFont.get(), nCharset); } int32_t CFX_SystemHandler::SetTimer(int32_t uElapse, -- cgit v1.2.3