| 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 <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxcrt/include/fx_system.h" | 13 #include "core/fxcrt/fx_system.h" |
| 14 #include "core/fxge/include/cfx_substfont.h" | 14 #include "core/fxge/include/cfx_substfont.h" |
| 15 #include "core/fxge/include/fx_dib.h" | 15 #include "core/fxge/include/fx_dib.h" |
| 16 #include "core/fxge/include/fx_freetype.h" | 16 #include "core/fxge/include/fx_freetype.h" |
| 17 | 17 |
| 18 typedef struct FT_FaceRec_* FXFT_Face; | 18 typedef struct FT_FaceRec_* FXFT_Face; |
| 19 typedef void* FXFT_Library; | 19 typedef void* FXFT_Library; |
| 20 | 20 |
| 21 class CFX_FaceCache; | 21 class CFX_FaceCache; |
| 22 class CFX_GlyphBitmap; | 22 class CFX_GlyphBitmap; |
| 23 class CFX_PathData; | 23 class CFX_PathData; |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 FX_FLOAT retinaScaleX = 1.0f, | 239 FX_FLOAT retinaScaleX = 1.0f, |
| 240 FX_FLOAT retinaScaleY = 1.0f); | 240 FX_FLOAT retinaScaleY = 1.0f); |
| 241 | 241 |
| 242 CFX_ByteString GetNameFromTT(const uint8_t* name_table, | 242 CFX_ByteString GetNameFromTT(const uint8_t* name_table, |
| 243 uint32_t name_table_size, | 243 uint32_t name_table_size, |
| 244 uint32_t name); | 244 uint32_t name); |
| 245 | 245 |
| 246 int PDF_GetStandardFontName(CFX_ByteString* name); | 246 int PDF_GetStandardFontName(CFX_ByteString* name); |
| 247 | 247 |
| 248 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ | 248 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ |
| OLD | NEW |