| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ | 7 #ifndef CORE_FPDFAPI_FONT_CPDF_FONT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ | 8 #define CORE_FPDFAPI_FONT_CPDF_FONT_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxcrt/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
| 14 #include "core/fxcrt/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
| 15 #include "core/fxge/fx_font.h" | 15 #include "core/fxge/fx_font.h" |
| 16 | 16 |
| 17 #define PDFFONT_FIXEDPITCH 1 | 17 #define PDFFONT_FIXEDPITCH 1 |
| 18 #define PDFFONT_SERIF 2 | 18 #define PDFFONT_SERIF 2 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 mutable std::unique_ptr<CPDF_ToUnicodeMap> m_pToUnicodeMap; | 122 mutable std::unique_ptr<CPDF_ToUnicodeMap> m_pToUnicodeMap; |
| 123 mutable bool m_bToUnicodeLoaded; | 123 mutable bool m_bToUnicodeLoaded; |
| 124 int m_Flags; | 124 int m_Flags; |
| 125 FX_RECT m_FontBBox; | 125 FX_RECT m_FontBBox; |
| 126 int m_StemV; | 126 int m_StemV; |
| 127 int m_Ascent; | 127 int m_Ascent; |
| 128 int m_Descent; | 128 int m_Descent; |
| 129 int m_ItalicAngle; | 129 int m_ItalicAngle; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ | 132 #endif // CORE_FPDFAPI_FONT_CPDF_FONT_H_ |
| OLD | NEW |