| 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 #include "core/fpdfapi/fpdf_font/font_int.h" | 7 #include "core/fpdfapi/fpdf_font/font_int.h" |
| 8 | 8 |
| 9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" | 9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" |
| 10 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" | 10 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 } else if (word == "/Adobe-GB1-UCS2") { | 290 } else if (word == "/Adobe-GB1-UCS2") { |
| 291 cid_set = CIDSET_GB1; | 291 cid_set = CIDSET_GB1; |
| 292 } | 292 } |
| 293 } | 293 } |
| 294 if (cid_set) { | 294 if (cid_set) { |
| 295 m_pBaseMap = CPDF_ModuleMgr::Get() | 295 m_pBaseMap = CPDF_ModuleMgr::Get() |
| 296 ->GetPageModule() | 296 ->GetPageModule() |
| 297 ->GetFontGlobals() | 297 ->GetFontGlobals() |
| 298 ->m_CMapManager.GetCID2UnicodeMap(cid_set, FALSE); | 298 ->m_CMapManager.GetCID2UnicodeMap(cid_set, FALSE); |
| 299 } else { | 299 } else { |
| 300 m_pBaseMap = NULL; | 300 m_pBaseMap = nullptr; |
| 301 } | 301 } |
| 302 } | 302 } |
| OLD | NEW |