summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/cpdf_cidfont.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-07-01 17:39:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-01 17:39:38 -0700
commitdf8c035f196b8e45a731aeb354919d6f1ab72ee5 (patch)
tree73f1a38f20f70c2d15a67275ced3a21533d95a91 /core/fpdfapi/fpdf_font/cpdf_cidfont.h
parentcfb31d67a40310ed64d942ba346cf0cd3a01cadf (diff)
downloadpdfium-df8c035f196b8e45a731aeb354919d6f1ab72ee5.tar.xz
Clean up parts of CPDF_CIDFont.
Also remove some if statements that are always true/false. Review-Url: https://codereview.chromium.org/2094073002
Diffstat (limited to 'core/fpdfapi/fpdf_font/cpdf_cidfont.h')
-rw-r--r--core/fpdfapi/fpdf_font/cpdf_cidfont.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/cpdf_cidfont.h b/core/fpdfapi/fpdf_font/cpdf_cidfont.h
index 2ae64cbd10..567598bc4e 100644
--- a/core/fpdfapi/fpdf_font/cpdf_cidfont.h
+++ b/core/fpdfapi/fpdf_font/cpdf_cidfont.h
@@ -55,13 +55,13 @@ class CPDF_CIDFont : public CPDF_Font {
CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const override;
- FX_BOOL LoadGB2312();
uint16_t CIDFromCharCode(uint32_t charcode) const;
const uint8_t* GetCIDTransform(uint16_t CID) const;
short GetVertWidth(uint16_t CID) const;
void GetVertOrigin(uint16_t CID, short& vx, short& vy) const;
protected:
+ void LoadGB2312();
int GetGlyphIndex(uint32_t unicodeb, bool* pVertGlyph);
int GetVerticalGlyph(int index, bool* pVertGlyph);
void LoadMetricsArray(CPDF_Array* pArray,