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

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

Issue 2383543002: Move core/fpdfapi/fpdf_parser/include to core/fpdfapi/fpdf_parser (Closed)
Patch Set: Created 4 years, 2 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 | « core/fpdfapi/fpdf_font/fpdf_font.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_allstates.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 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/font_int.h" 7 #include "core/fpdfapi/fpdf_font/font_int.h"
8 8
9 #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" 9 #include "core/fpdfapi/fpdf_cmaps/cmap_int.h"
10 #include "core/fpdfapi/fpdf_font/ttgsubtable.h" 10 #include "core/fpdfapi/fpdf_font/ttgsubtable.h"
11 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" 11 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h"
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 12 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
13 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 13 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_simple_parser.h" 14 #include "core/fpdfapi/fpdf_parser/cpdf_simple_parser.h"
15 #include "core/fpdfapi/include/cpdf_modulemgr.h" 15 #include "core/fpdfapi/include/cpdf_modulemgr.h"
16 #include "core/fxcrt/include/fx_ext.h" 16 #include "core/fxcrt/include/fx_ext.h"
17 #include "core/fxge/include/fx_freetype.h" 17 #include "core/fxge/include/fx_freetype.h"
18 18
19 namespace { 19 namespace {
20 20
21 const FX_CHAR* const g_CharsetNames[CIDSET_NUM_SETS] = { 21 const FX_CHAR* const g_CharsetNames[CIDSET_NUM_SETS] = {
22 nullptr, "GB1", "CNS1", "Japan1", "Korea1", "UCS"}; 22 nullptr, "GB1", "CNS1", "Japan1", "Korea1", "UCS"};
23 23
24 24
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 m_EmbeddedCount = pFontGlobals->m_EmbeddedToUnicodes[charset].m_Count; 781 m_EmbeddedCount = pFontGlobals->m_EmbeddedToUnicodes[charset].m_Count;
782 } 782 }
783 783
784 CIDSet CharsetFromOrdering(const CFX_ByteStringC& ordering) { 784 CIDSet CharsetFromOrdering(const CFX_ByteStringC& ordering) {
785 for (size_t charset = 1; charset < FX_ArraySize(g_CharsetNames); ++charset) { 785 for (size_t charset = 1; charset < FX_ArraySize(g_CharsetNames); ++charset) {
786 if (ordering == g_CharsetNames[charset]) 786 if (ordering == g_CharsetNames[charset])
787 return CIDSetFromSizeT(charset); 787 return CIDSetFromSizeT(charset);
788 } 788 }
789 return CIDSET_UNKNOWN; 789 return CIDSET_UNKNOWN;
790 } 790 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_font/fpdf_font.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_allstates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698