diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-28 11:32:17 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-28 15:45:58 +0000 |
commit | 1ca7173cd85adcd58766fc89f95c3dc163efa17a (patch) | |
tree | effbc52dd5ec7327a2c945ad39cfd3c44f07c8c1 /xfa/fgas/font/cfgas_pdffontmgr.h | |
parent | 9c392c82abee05ac2fd42e69984e2de8e48b797a (diff) | |
download | pdfium-1ca7173cd85adcd58766fc89f95c3dc163efa17a.tar.xz |
Cleanup CFGAS_GEFont methods
Remove unused params, cleanup return values.
Change-Id: I9a1bc400e24cdcac982a578242ff0f9de8055775
Reviewed-on: https://pdfium-review.googlesource.com/15070
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_pdffontmgr.h')
-rw-r--r-- | xfa/fgas/font/cfgas_pdffontmgr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fgas/font/cfgas_pdffontmgr.h b/xfa/fgas/font/cfgas_pdffontmgr.h index 410aa009b0..a019990dad 100644 --- a/xfa/fgas/font/cfgas_pdffontmgr.h +++ b/xfa/fgas/font/cfgas_pdffontmgr.h @@ -25,15 +25,14 @@ class CFGAS_PDFFontMgr : public Observable<CFGAS_PDFFontMgr> { explicit CFGAS_PDFFontMgr(CPDF_Document* pDoc, CFGAS_FontMgr* pFontMgr); ~CFGAS_PDFFontMgr(); + void SetFont(const RetainPtr<CFGAS_GEFont>& pFont, CPDF_Font* pPDFFont); RetainPtr<CFGAS_GEFont> GetFont(const WideStringView& wsFontFamily, uint32_t dwFontStyles, CPDF_Font** pPDFFont, bool bStrictMatch); bool GetCharWidth(const RetainPtr<CFGAS_GEFont>& pFont, wchar_t wUnicode, - bool bCharCode, int32_t* pWidth); - void SetFont(const RetainPtr<CFGAS_GEFont>& pFont, CPDF_Font* pPDFFont); private: RetainPtr<CFGAS_GEFont> FindFont(const ByteString& strFamilyName, |