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

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

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers Created 4 years, 10 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
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 "ttgsubtable.h" 7 #include "core/src/fpdfapi/fpdf_font/ttgsubtable.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "core/include/fxge/fx_freetype.h" 11 #include "core/include/fxge/fx_freetype.h"
12 #include "core/include/fxge/fx_ge.h" 12 #include "core/include/fxge/fx_ge.h"
13 #include "third_party/base/stl_util.h" 13 #include "third_party/base/stl_util.h"
14 14
15 CFX_GlyphMap::CFX_GlyphMap() {} 15 CFX_GlyphMap::CFX_GlyphMap() {}
16 CFX_GlyphMap::~CFX_GlyphMap() {} 16 CFX_GlyphMap::~CFX_GlyphMap() {}
17 extern "C" { 17 extern "C" {
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 FXFT_Load_Sfnt_Table(pFont->GetFace(), FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, 406 FXFT_Load_Sfnt_Table(pFont->GetFace(), FT_MAKE_TAG('G', 'S', 'U', 'B'), 0,
407 pFont->GetSubData(), NULL); 407 pFont->GetSubData(), NULL);
408 if (!error && pFont->GetSubData()) { 408 if (!error && pFont->GetSubData()) {
409 std::unique_ptr<CFX_GSUBTable> pGsubTable(new CFX_GSUBTable); 409 std::unique_ptr<CFX_GSUBTable> pGsubTable(new CFX_GSUBTable);
410 if (pGsubTable->m_GsubImp.LoadGSUBTable((FT_Bytes)pFont->GetSubData())) { 410 if (pGsubTable->m_GsubImp.LoadGSUBTable((FT_Bytes)pFont->GetSubData())) {
411 return pGsubTable.release(); 411 return pGsubTable.release();
412 } 412 }
413 } 413 }
414 return NULL; 414 return NULL;
415 } 415 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698