| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_FXGE_INCLUDE_FX_FONT_H_ | 7 #ifndef CORE_FXGE_INCLUDE_FX_FONT_H_ |
| 8 #define CORE_FXGE_INCLUDE_FX_FONT_H_ | 8 #define CORE_FXGE_INCLUDE_FX_FONT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 const CFX_Matrix* pMatrix, | 494 const CFX_Matrix* pMatrix, |
| 495 int dest_width, | 495 int dest_width, |
| 496 int anti_alias); | 496 int anti_alias); |
| 497 CFX_GlyphBitmap* RenderGlyph_Nativetext(CFX_Font* pFont, | 497 CFX_GlyphBitmap* RenderGlyph_Nativetext(CFX_Font* pFont, |
| 498 uint32_t glyph_index, | 498 uint32_t glyph_index, |
| 499 const CFX_Matrix* pMatrix, | 499 const CFX_Matrix* pMatrix, |
| 500 int dest_width, | 500 int dest_width, |
| 501 int anti_alias); | 501 int anti_alias); |
| 502 CFX_GlyphBitmap* LookUpGlyphBitmap(CFX_Font* pFont, | 502 CFX_GlyphBitmap* LookUpGlyphBitmap(CFX_Font* pFont, |
| 503 const CFX_Matrix* pMatrix, | 503 const CFX_Matrix* pMatrix, |
| 504 CFX_ByteStringC& FaceGlyphsKey, | 504 const CFX_ByteString& FaceGlyphsKey, |
| 505 uint32_t glyph_index, | 505 uint32_t glyph_index, |
| 506 FX_BOOL bFontStyle, | 506 FX_BOOL bFontStyle, |
| 507 int dest_width, | 507 int dest_width, |
| 508 int anti_alias); | 508 int anti_alias); |
| 509 void InitPlatform(); | 509 void InitPlatform(); |
| 510 void DestroyPlatform(); | 510 void DestroyPlatform(); |
| 511 | 511 |
| 512 FXFT_Face const m_Face; | 512 FXFT_Face const m_Face; |
| 513 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; | 513 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; |
| 514 std::map<uint32_t, CFX_PathData*> m_PathMap; | 514 std::map<uint32_t, CFX_PathData*> m_PathMap; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 532 FX_FLOAT retinaScaleX = 1.0f, | 532 FX_FLOAT retinaScaleX = 1.0f, |
| 533 FX_FLOAT retinaScaleY = 1.0f); | 533 FX_FLOAT retinaScaleY = 1.0f); |
| 534 | 534 |
| 535 CFX_ByteString GetNameFromTT(const uint8_t* name_table, | 535 CFX_ByteString GetNameFromTT(const uint8_t* name_table, |
| 536 uint32_t name_table_size, | 536 uint32_t name_table_size, |
| 537 uint32_t name); | 537 uint32_t name); |
| 538 | 538 |
| 539 int PDF_GetStandardFontName(CFX_ByteString* name); | 539 int PDF_GetStandardFontName(CFX_ByteString* name); |
| 540 | 540 |
| 541 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ | 541 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ |
| OLD | NEW |