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/ttgsubtable.h" | 7 #include "core/fpdfapi/fpdf_font/ttgsubtable.h" |
8 | 8 |
9 #include "core/fxge/include/fx_freetype.h" | 9 #include "core/fxge/include/fx_freetype.h" |
10 #include "core/fxge/include/fx_ge.h" | |
11 #include "third_party/base/stl_util.h" | 10 #include "third_party/base/stl_util.h" |
12 | 11 |
13 CFX_GlyphMap::CFX_GlyphMap() {} | 12 CFX_GlyphMap::CFX_GlyphMap() {} |
14 | 13 |
15 CFX_GlyphMap::~CFX_GlyphMap() {} | 14 CFX_GlyphMap::~CFX_GlyphMap() {} |
16 | 15 |
17 extern "C" { | 16 extern "C" { |
18 static int _CompareInt(const void* p1, const void* p2) { | 17 static int _CompareInt(const void* p1, const void* p2) { |
19 return (*(uint32_t*)p1) - (*(uint32_t*)p2); | 18 return (*(uint32_t*)p1) - (*(uint32_t*)p2); |
20 } | 19 } |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 CFX_CTTGSUBTable::TFeatureList::~TFeatureList() {} | 493 CFX_CTTGSUBTable::TFeatureList::~TFeatureList() {} |
495 | 494 |
496 CFX_CTTGSUBTable::TLookupList::TLookupList() : LookupCount(0) {} | 495 CFX_CTTGSUBTable::TLookupList::TLookupList() : LookupCount(0) {} |
497 | 496 |
498 CFX_CTTGSUBTable::TLookupList::~TLookupList() {} | 497 CFX_CTTGSUBTable::TLookupList::~TLookupList() {} |
499 | 498 |
500 CFX_CTTGSUBTable::TLangSys::TLangSys() | 499 CFX_CTTGSUBTable::TLangSys::TLangSys() |
501 : LookupOrder(0), ReqFeatureIndex(0), FeatureCount(0) {} | 500 : LookupOrder(0), ReqFeatureIndex(0), FeatureCount(0) {} |
502 | 501 |
503 CFX_CTTGSUBTable::TLangSys::~TLangSys() {} | 502 CFX_CTTGSUBTable::TLangSys::~TLangSys() {} |
OLD | NEW |