| 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 #include "core/fxge/ge/cfx_folderfontinfo.h" | 7 #include "core/fxge/ge/cfx_folderfontinfo.h" |
| 8 | 8 |
| 9 #include "core/fxge/include/cfx_fontmapper.h" | 9 #include "core/fxge/cfx_fontmapper.h" |
| 10 #include "core/fxge/include/fx_font.h" | 10 #include "core/fxge/fx_font.h" |
| 11 | 11 |
| 12 #include "third_party/base/stl_util.h" | 12 #include "third_party/base/stl_util.h" |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 const struct { | 16 const struct { |
| 17 const FX_CHAR* m_pName; | 17 const FX_CHAR* m_pName; |
| 18 const FX_CHAR* m_pSubstName; | 18 const FX_CHAR* m_pSubstName; |
| 19 } Base14Substs[] = { | 19 } Base14Substs[] = { |
| 20 {"Courier", "Courier New"}, | 20 {"Courier", "Courier New"}, |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 if (!hFont) | 368 if (!hFont) |
| 369 return FALSE; | 369 return FALSE; |
| 370 CFX_FontFaceInfo* pFont = (CFX_FontFaceInfo*)hFont; | 370 CFX_FontFaceInfo* pFont = (CFX_FontFaceInfo*)hFont; |
| 371 name = pFont->m_FaceName; | 371 name = pFont->m_FaceName; |
| 372 return TRUE; | 372 return TRUE; |
| 373 } | 373 } |
| 374 | 374 |
| 375 FX_BOOL CFX_FolderFontInfo::GetFontCharset(void* hFont, int& charset) { | 375 FX_BOOL CFX_FolderFontInfo::GetFontCharset(void* hFont, int& charset) { |
| 376 return FALSE; | 376 return FALSE; |
| 377 } | 377 } |
| OLD | NEW |