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

Unified Diff: core/fpdfapi/font/cpdf_type1font.h

Issue 2412483006: Reduce code duplication in CPDF_Type1Font::LoadGlyphMap (Closed)
Patch Set: Fix 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 | « no previous file | core/fpdfapi/font/cpdf_type1font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/font/cpdf_type1font.h
diff --git a/core/fpdfapi/font/cpdf_type1font.h b/core/fpdfapi/font/cpdf_type1font.h
index 4dc5ea0917fa36cf820adcb5c1b86c4c56cd75e9..f5f378561d101e9cf10c0d5866c0f4486dc73ff3 100644
--- a/core/fpdfapi/font/cpdf_type1font.h
+++ b/core/fpdfapi/font/cpdf_type1font.h
@@ -22,13 +22,18 @@ class CPDF_Type1Font : public CPDF_SimpleFont {
int GetBase14Font() const { return m_Base14Font; }
- protected:
+ private:
// CPDF_Font:
bool Load() override;
// CPDF_SimpleFont:
void LoadGlyphMap() override;
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
+ void SetExtGID(const FX_CHAR* name, int charcode);
+ void CalcExtGID(int charcode);
+#endif
+
int m_Base14Font;
};
« no previous file with comments | « no previous file | core/fpdfapi/font/cpdf_type1font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698