Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: core/include/fxge/fx_font.h

Issue 1515613006: Merge to XFA: Replace several more CFX_MapPtrToPtr with std::set or std::map (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698