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

Side by Side Diff: core/fxge/freetype/fx_freetype.cpp

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master 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/fxge/dib/fx_dib_transform.cpp ('k') | core/fxge/fx_dib.h » ('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/fxge/include/fx_freetype.h" 7 #include "core/fxge/fx_freetype.h"
8 8
9 #include "third_party/freetype/src/psnames/pstables.h" 9 #include "third_party/freetype/src/psnames/pstables.h"
10 10
11 static int xyq_search_node(char* glyph_name, 11 static int xyq_search_node(char* glyph_name,
12 int name_offset, 12 int name_offset,
13 int table_offset, 13 int table_offset,
14 wchar_t unicode) { 14 wchar_t unicode) {
15 int i, count; 15 int i, count;
16 16
17 // copy letters 17 // copy letters
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 for (i = 0; i < count; i++) { 162 for (i = 0; i < count; i++) {
163 int child_offset = 163 int child_offset =
164 ft_adobe_glyph_list[i * 2 + 2] * 256 + ft_adobe_glyph_list[i * 2 + 3]; 164 ft_adobe_glyph_list[i * 2 + 2] * 256 + ft_adobe_glyph_list[i * 2 + 3];
165 if (xyq_search_node(glyph_name, 0, child_offset, unicode)) 165 if (xyq_search_node(glyph_name, 0, child_offset, unicode))
166 return; 166 return;
167 } 167 }
168 168
169 // failed, clear the buffer 169 // failed, clear the buffer
170 glyph_name[0] = 0; 170 glyph_name[0] = 0;
171 } 171 }
OLDNEW
« no previous file with comments | « core/fxge/dib/fx_dib_transform.cpp ('k') | core/fxge/fx_dib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698