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

Side by Side Diff: core/fxge/ge/fx_ge_fontmap.cpp

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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/fxge/ge/cfx_renderdevice.cpp ('k') | core/fxge/ge/fx_ge_linux.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 #include "core/fxge/cfx_fontmapper.h" 7 #include "core/fxge/cfx_fontmapper.h"
8 #include "core/fxge/ifx_systemfontinfo.h" 8 #include "core/fxge/ifx_systemfontinfo.h"
9 9
10 static CFX_ByteString GetStringFromTable(const uint8_t* string_ptr, 10 static CFX_ByteString GetStringFromTable(const uint8_t* string_ptr,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 return GetStringFromTable(string_ptr, string_ptr_size, 45 return GetStringFromTable(string_ptr, string_ptr_size,
46 GET_TT_SHORT(name_table + 10), 46 GET_TT_SHORT(name_table + 10),
47 GET_TT_SHORT(name_table + 8)); 47 GET_TT_SHORT(name_table + 8));
48 } 48 }
49 } 49 }
50 return CFX_ByteString(); 50 return CFX_ByteString();
51 } 51 }
52 #ifdef PDF_ENABLE_XFA 52 #ifdef PDF_ENABLE_XFA
53 void* IFX_SystemFontInfo::MapFontByUnicode(uint32_t dwUnicode, 53 void* IFX_SystemFontInfo::MapFontByUnicode(uint32_t dwUnicode,
54 int weight, 54 int weight,
55 FX_BOOL bItalic, 55 bool bItalic,
56 int pitch_family) { 56 int pitch_family) {
57 return nullptr; 57 return nullptr;
58 } 58 }
59 #endif // PDF_ENABLE_XFA 59 #endif // PDF_ENABLE_XFA
60 60
61 int IFX_SystemFontInfo::GetFaceIndex(void* hFont) { 61 int IFX_SystemFontInfo::GetFaceIndex(void* hFont) {
62 return 0; 62 return 0;
63 } 63 }
64 64
65 extern "C" { 65 extern "C" {
(...skipping 16 matching lines...) Expand all
82 CFX_ByteString fontTables, 82 CFX_ByteString fontTables,
83 uint32_t fontOffset, 83 uint32_t fontOffset,
84 uint32_t fileSize) 84 uint32_t fileSize)
85 : m_FilePath(filePath), 85 : m_FilePath(filePath),
86 m_FaceName(faceName), 86 m_FaceName(faceName),
87 m_FontTables(fontTables), 87 m_FontTables(fontTables),
88 m_FontOffset(fontOffset), 88 m_FontOffset(fontOffset),
89 m_FileSize(fileSize), 89 m_FileSize(fileSize),
90 m_Styles(0), 90 m_Styles(0),
91 m_Charsets(0) {} 91 m_Charsets(0) {}
OLDNEW
« no previous file with comments | « core/fxge/ge/cfx_renderdevice.cpp ('k') | core/fxge/ge/fx_ge_linux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698