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

Side by Side Diff: core/fpdfapi/fpdf_font/cpdf_type1font.cpp

Issue 2217663002: Refactor fx_ge part 1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 4 months 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 | « BUILD.gn ('k') | core/fpdfapi/fpdf_render/fpdf_render_text.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 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/fpdf_font/cpdf_type1font.h"
8 8
9 #include "core/fpdfapi/fpdf_font/font_int.h" 9 #include "core/fpdfapi/fpdf_font/font_int.h"
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
11 #include "core/fxge/include/cfx_gemodule.h"
11 #include "core/fxge/include/fx_freetype.h" 12 #include "core/fxge/include/fx_freetype.h"
12 #include "core/fxge/include/fx_ge.h" 13 #include "core/fxge/include/fx_ge.h"
13 14
14 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 15 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
15 #include "core/fxge/apple/apple_int.h" 16 #include "core/fxge/apple/apple_int.h"
16 #endif 17 #endif
17 18
18 namespace { 19 namespace {
19 20
20 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 21 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 m_Encoding.m_Unicodes[charcode] = 0x20; 390 m_Encoding.m_Unicodes[charcode] = 0x20;
390 m_GlyphIndex[charcode] = 0xffff; 391 m_GlyphIndex[charcode] = 0xffff;
391 } 392 }
392 } 393 }
393 } 394 }
394 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 395 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
395 if (!bCoreText) 396 if (!bCoreText)
396 FXSYS_memcpy(m_ExtGID, m_GlyphIndex, 256); 397 FXSYS_memcpy(m_ExtGID, m_GlyphIndex, 256);
397 #endif 398 #endif
398 } 399 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_render/fpdf_render_text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698