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/fpdfapi/fpdf_font/cpdf_type1font.h" | 7 #include "core/fpdfapi/font/cpdf_type1font.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_font/font_int.h" | 9 #include "core/fpdfapi/font/font_int.h" |
10 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" | 10 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h" |
11 #include "core/fxge/cfx_gemodule.h" | 11 #include "core/fxge/cfx_gemodule.h" |
12 #include "core/fxge/fx_freetype.h" | 12 #include "core/fxge/fx_freetype.h" |
13 | 13 |
14 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 14 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
15 #include "core/fxge/apple/apple_int.h" | 15 #include "core/fxge/apple/apple_int.h" |
16 #endif | 16 #endif |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 m_Encoding.m_Unicodes[charcode] = 0x20; | 389 m_Encoding.m_Unicodes[charcode] = 0x20; |
390 m_GlyphIndex[charcode] = 0xffff; | 390 m_GlyphIndex[charcode] = 0xffff; |
391 } | 391 } |
392 } | 392 } |
393 } | 393 } |
394 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ | 394 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
395 if (!bCoreText) | 395 if (!bCoreText) |
396 FXSYS_memcpy(m_ExtGID, m_GlyphIndex, 256); | 396 FXSYS_memcpy(m_ExtGID, m_GlyphIndex, 256); |
397 #endif | 397 #endif |
398 } | 398 } |
OLD | NEW |