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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 CFX_ByteStringC& FaceGlyphsKey, | 417 CFX_ByteStringC& FaceGlyphsKey, |
418 FX_DWORD glyph_index, | 418 FX_DWORD glyph_index, |
419 FX_BOOL bFontStyle, | 419 FX_BOOL bFontStyle, |
420 int dest_width, | 420 int dest_width, |
421 int anti_alias); | 421 int anti_alias); |
422 void InitPlatform(); | 422 void InitPlatform(); |
423 void DestroyPlatform(); | 423 void DestroyPlatform(); |
424 | 424 |
425 FXFT_Face const m_Face; | 425 FXFT_Face const m_Face; |
426 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; | 426 std::map<CFX_ByteString, CFX_SizeGlyphCache*> m_SizeMap; |
427 CFX_MapPtrToPtr m_PathMap; | 427 std::map<FX_DWORD, CFX_PathData*> m_PathMap; |
428 CFX_DIBitmap* m_pBitmap; | 428 CFX_DIBitmap* m_pBitmap; |
429 }; | 429 }; |
430 | 430 |
431 struct FXTEXT_GLYPHPOS { | 431 struct FXTEXT_GLYPHPOS { |
432 const CFX_GlyphBitmap* m_pGlyph; | 432 const CFX_GlyphBitmap* m_pGlyph; |
433 int m_OriginX; | 433 int m_OriginX; |
434 int m_OriginY; | 434 int m_OriginY; |
435 FX_FLOAT m_fOriginX; | 435 FX_FLOAT m_fOriginX; |
436 FX_FLOAT m_fOriginY; | 436 FX_FLOAT m_fOriginY; |
437 }; | 437 }; |
(...skipping 11 matching lines...) Expand all Loading... |
449 | 449 |
450 protected: | 450 protected: |
451 virtual ~IFX_GSUBTable() {} | 451 virtual ~IFX_GSUBTable() {} |
452 }; | 452 }; |
453 | 453 |
454 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); | 454 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); |
455 | 455 |
456 int PDF_GetStandardFontName(CFX_ByteString* name); | 456 int PDF_GetStandardFontName(CFX_ByteString* name); |
457 | 457 |
458 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ | 458 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ |
OLD | NEW |