Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: pdf/pdfium/pdfium_page.cc

Issue 2398763002: Add font substitution metric for Linux (Closed)
Patch Set: No ScopedSubstFont in PDFiumEngineExports Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | pdf/preview_mode_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_page.cc
diff --git a/pdf/pdfium/pdfium_page.cc b/pdf/pdfium/pdfium_page.cc
index 45724eedcd0e5653e7cdab3f6004181324bca07f..39db69ec51173d5d9089524cb0f7f931f64b44eb 100644
--- a/pdf/pdfium/pdfium_page.cc
+++ b/pdf/pdfium/pdfium_page.cc
@@ -118,6 +118,7 @@ void PDFiumPage::Unload() {
FPDF_PAGE PDFiumPage::GetPage() {
ScopedUnsupportedFeature scoped_unsupported_feature(engine_);
+ ScopedSubstFont scoped_subst_font(engine_);
if (!available_)
return nullptr;
if (!page_) {
@@ -132,6 +133,7 @@ FPDF_PAGE PDFiumPage::GetPage() {
FPDF_PAGE PDFiumPage::GetPrintPage() {
ScopedUnsupportedFeature scoped_unsupported_feature(engine_);
+ ScopedSubstFont scoped_subst_font(engine_);
if (!available_)
return nullptr;
if (!page_) {
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | pdf/preview_mode_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698