Make CFX_Face::GetPixelSize() and GetCharMapEncodingIdByIndex() private These are now only called inside CFX_Face. Change-Id: I89b9ac196aa7426e32b561f3276f197472753abc Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/146671 Commit-Queue: Lei Zhang <thestig@chromium.org> Auto-Submit: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxge/cfx_face.h b/core/fxge/cfx_face.h index 9e123b6..9234165 100644 --- a/core/fxge/cfx_face.h +++ b/core/fxge/cfx_face.h
@@ -114,12 +114,10 @@ std::optional<fxge::FontEncoding> GetCurrentCharMapEncoding() const; CharMapId GetCharMapIdByIndex(size_t index) const; int GetCharMapPlatformIdByIndex(size_t index) const; - int GetCharMapEncodingIdByIndex(size_t index) const; fxge::FontEncoding GetCharMapEncodingByIndex(size_t index) const; size_t GetCharMapCount() const; int LoadGlyph(uint32_t glyph_index, bool scale); ByteString GetPostscriptName(); - CFX_Size GetPixelSize() const; void SetCharMap(CharMap map); void SetCharMapByIndex(size_t index); bool SelectCharMap(fxge::FontEncoding encoding); @@ -155,6 +153,9 @@ FT_FaceRec* GetRec() { return rec_.get(); } const FT_FaceRec* GetRec() const { return rec_.get(); } + int GetCharMapEncodingIdByIndex(size_t index) const; + CFX_Size GetPixelSize() const; + bool IsTricky() const; void AdjustVariationParams(int glyph_index, int dest_width, int weight);