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

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

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: IWYU Created 5 years, 1 month 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
OLDNEW
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 "../../../include/fpdfapi/fpdf_module.h" 7 #include "font_int.h"
8 #include "../../../include/fpdfapi/fpdf_page.h" 8
9 #include "../../../include/fpdfapi/fpdf_pageobj.h"
10 #include "../../../include/fpdfapi/fpdf_resource.h"
11 #include "../../../include/fxge/fx_freetype.h"
12 #include "../fpdf_page/pageint.h" 9 #include "../fpdf_page/pageint.h"
13 #include "font_int.h" 10 #include "core/include/fpdfapi/fpdf_module.h"
11 #include "core/include/fpdfapi/fpdf_page.h"
12 #include "core/include/fpdfapi/fpdf_pageobj.h"
13 #include "core/include/fpdfapi/fpdf_resource.h"
14 #include "core/include/fxge/fx_freetype.h"
14 15
15 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id) { 16 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id) {
16 for (int i = 0; i < FXFT_Get_Face_CharmapCount(face); i++) { 17 for (int i = 0; i < FXFT_Get_Face_CharmapCount(face); i++) {
17 if (FXFT_Get_Charmap_PlatformID(FXFT_Get_Face_Charmaps(face)[i]) == 18 if (FXFT_Get_Charmap_PlatformID(FXFT_Get_Face_Charmaps(face)[i]) ==
18 platform_id && 19 platform_id &&
19 FXFT_Get_Charmap_EncodingID(FXFT_Get_Face_Charmaps(face)[i]) == 20 FXFT_Get_Charmap_EncodingID(FXFT_Get_Face_Charmaps(face)[i]) ==
20 encoding_id) { 21 encoding_id) {
21 FXFT_Set_Charmap(face, FXFT_Get_Face_Charmaps(face)[i]); 22 FXFT_Set_Charmap(face, FXFT_Get_Face_Charmaps(face)[i]);
22 return TRUE; 23 return TRUE;
23 } 24 }
(...skipping 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 CPDF_Type3Char::CPDF_Type3Char() { 1788 CPDF_Type3Char::CPDF_Type3Char() {
1788 m_pForm = NULL; 1789 m_pForm = NULL;
1789 m_pBitmap = NULL; 1790 m_pBitmap = NULL;
1790 m_bPageRequired = FALSE; 1791 m_bPageRequired = FALSE;
1791 m_bColored = FALSE; 1792 m_bColored = FALSE;
1792 } 1793 }
1793 CPDF_Type3Char::~CPDF_Type3Char() { 1794 CPDF_Type3Char::~CPDF_Type3Char() {
1794 delete m_pForm; 1795 delete m_pForm;
1795 delete m_pBitmap; 1796 delete m_pBitmap;
1796 } 1797 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698