diff options
author | thestig <thestig@chromium.org> | 2016-06-27 11:55:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-27 11:55:24 -0700 |
commit | 8ea3f5176aab4d6688710d9937cf38a43c14d030 (patch) | |
tree | 8e74d88332e022d89943470a09a5fa57957d7828 /core/fpdfapi/fpdf_font/cpdf_cidfont.h | |
parent | c08cd7abb2069b6056ec99c8ec5b87524e45df01 (diff) | |
download | pdfium-8ea3f5176aab4d6688710d9937cf38a43c14d030.tar.xz |
Clean up some CPDF_Font subclasses.
Review-Url: https://codereview.chromium.org/2093313002
Diffstat (limited to 'core/fpdfapi/fpdf_font/cpdf_cidfont.h')
-rw-r--r-- | core/fpdfapi/fpdf_font/cpdf_cidfont.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_font/cpdf_cidfont.h b/core/fpdfapi/fpdf_font/cpdf_cidfont.h index 5abb20f7aa..2ae64cbd10 100644 --- a/core/fpdfapi/fpdf_font/cpdf_cidfont.h +++ b/core/fpdfapi/fpdf_font/cpdf_cidfont.h @@ -40,8 +40,7 @@ class CPDF_CIDFont : public CPDF_Font { bool IsCIDFont() const override; const CPDF_CIDFont* AsCIDFont() const override; CPDF_CIDFont* AsCIDFont() override; - int GlyphFromCharCode(uint32_t charcode, - FX_BOOL* pVertGlyph = nullptr) override; + int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) override; int GetCharWidthF(uint32_t charcode, int level = 0) override; FX_RECT GetCharBBox(uint32_t charcode, int level = 0) override; uint32_t GetNextChar(const FX_CHAR* pString, @@ -63,7 +62,8 @@ class CPDF_CIDFont : public CPDF_Font { void GetVertOrigin(uint16_t CID, short& vx, short& vy) const; protected: - int GetGlyphIndex(uint32_t unicodeb, FX_BOOL* pVertGlyph); + int GetGlyphIndex(uint32_t unicodeb, bool* pVertGlyph); + int GetVerticalGlyph(int index, bool* pVertGlyph); void LoadMetricsArray(CPDF_Array* pArray, CFX_ArrayTemplate<uint32_t>& result, int nElements); |