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

Unified Diff: core/fpdfapi/fpdf_font/cpdf_cidfont.h

Issue 2248463002: Get rid of FX_SMALL_RECT. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@fontclean
Patch Set: Created 4 years, 4 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/fpdf_font/cpdf_cidfont.cpp » ('j') | core/fpdfapi/fpdf_font/cpdf_cidfont.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_font/cpdf_cidfont.h
diff --git a/core/fpdfapi/fpdf_font/cpdf_cidfont.h b/core/fpdfapi/fpdf_font/cpdf_cidfont.h
index 567598bc4eea97e558a578612da5b2e2a12827b7..1a5ce07cf0e7566b7bdfabc7c54bc4f60297745b 100644
--- a/core/fpdfapi/fpdf_font/cpdf_cidfont.h
+++ b/core/fpdfapi/fpdf_font/cpdf_cidfont.h
@@ -74,17 +74,17 @@ class CPDF_CIDFont : public CPDF_Font {
std::unique_ptr<CPDF_CMap> m_pAllocatedCMap;
CPDF_CID2UnicodeMap* m_pCID2UnicodeMap;
CIDSet m_Charset;
- FX_BOOL m_bType1;
- FX_BOOL m_bCIDIsGID;
+ bool m_bType1;
+ bool m_bCIDIsGID;
uint16_t m_DefaultWidth;
std::unique_ptr<CPDF_StreamAcc> m_pStreamAcc;
bool m_bAnsiWidthsFixed;
- FX_SMALL_RECT m_CharBBox[256];
+ FX_RECT m_CharBBox[256];
CFX_ArrayTemplate<uint32_t> m_WidthList;
short m_DefaultVY;
short m_DefaultW1;
CFX_ArrayTemplate<uint32_t> m_VertMetrics;
- FX_BOOL m_bAdobeCourierStd;
+ bool m_bAdobeCourierStd;
std::unique_ptr<CFX_CTTGSUBTable> m_pTTGSUBTable;
};
« no previous file with comments | « no previous file | core/fpdfapi/fpdf_font/cpdf_cidfont.cpp » ('j') | core/fpdfapi/fpdf_font/cpdf_cidfont.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698