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_INCLUDE_FXGE_FX_FONT_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ |
8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ | 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 CFX_ByteStringC& FaceGlyphsKey, | 498 CFX_ByteStringC& FaceGlyphsKey, |
499 FX_DWORD glyph_index, | 499 FX_DWORD glyph_index, |
500 FX_BOOL bFontStyle, | 500 FX_BOOL bFontStyle, |
501 int dest_width, | 501 int dest_width, |
502 int anti_alias); | 502 int anti_alias); |
503 void InitPlatform(); | 503 void InitPlatform(); |
504 void DestroyPlatform(); | 504 void DestroyPlatform(); |
505 | 505 |
506 FXFT_Face const m_Face; | 506 FXFT_Face const m_Face; |
507 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; | 507 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; |
508 CFX_MapPtrToPtr m_PathMap; | 508 std::map<FX_DWORD, CFX_PathData*> m_PathMap; |
509 CFX_DIBitmap* m_pBitmap; | 509 CFX_DIBitmap* m_pBitmap; |
510 }; | 510 }; |
511 | 511 |
512 struct FXTEXT_GLYPHPOS { | 512 struct FXTEXT_GLYPHPOS { |
513 const CFX_GlyphBitmap* m_pGlyph; | 513 const CFX_GlyphBitmap* m_pGlyph; |
514 int m_OriginX; | 514 int m_OriginX; |
515 int m_OriginY; | 515 int m_OriginY; |
516 FX_FLOAT m_fOriginX; | 516 FX_FLOAT m_fOriginX; |
517 FX_FLOAT m_fOriginY; | 517 FX_FLOAT m_fOriginY; |
518 }; | 518 }; |
(...skipping 11 matching lines...) Expand all Loading... |
530 | 530 |
531 protected: | 531 protected: |
532 virtual ~IFX_GSUBTable() {} | 532 virtual ~IFX_GSUBTable() {} |
533 }; | 533 }; |
534 | 534 |
535 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); | 535 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); |
536 | 536 |
537 int PDF_GetStandardFontName(CFX_ByteString* name); | 537 int PDF_GetStandardFontName(CFX_ByteString* name); |
538 | 538 |
539 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ | 539 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ |
OLD | NEW |