| 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/fpdfdoc/cpvt_fontmap.h" | 7 #include "core/fpdfdoc/cpvt_fontmap.h" |
| 8 | 8 |
| 9 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" | 9 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" |
| 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 case 1: | 67 case 1: |
| 68 if (!m_pSysFont) { | 68 if (!m_pSysFont) { |
| 69 GetAnnotSysPDFFont(m_pDocument, m_pResDict, m_pSysFont, | 69 GetAnnotSysPDFFont(m_pDocument, m_pResDict, m_pSysFont, |
| 70 m_sSysFontAlias); | 70 m_sSysFontAlias); |
| 71 } | 71 } |
| 72 return m_sSysFontAlias; | 72 return m_sSysFontAlias; |
| 73 default: | 73 default: |
| 74 return ""; | 74 return ""; |
| 75 } | 75 } |
| 76 } | 76 } |
| 77 |
| 78 int32_t CPVT_FontMap::GetWordFontIndex(uint16_t word, |
| 79 int32_t charset, |
| 80 int32_t nFontIndex) { |
| 81 ASSERT(false); |
| 82 return 0; |
| 83 } |
| 84 |
| 85 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { |
| 86 ASSERT(false); |
| 87 return 0; |
| 88 } |
| 89 |
| 90 int32_t CPVT_FontMap::CharSetFromUnicode(uint16_t word, int32_t nOldCharset) { |
| 91 ASSERT(false); |
| 92 return 0; |
| 93 } |
| OLD | NEW |