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

Side by Side Diff: include/core/SkFontHost.h

Issue 66783003: Remove SK_FONTHOST_USES_FONTMGR. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « gyp/common_conditions.gypi ('k') | include/core/SkTypeface.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 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkFontHost_DEFINED 10 #ifndef SkFontHost_DEFINED
11 #define SkFontHost_DEFINED 11 #define SkFontHost_DEFINED
12 12
13 #include "SkTypeface.h" 13 #include "SkTypeface.h"
14 14
15 //#define SK_FONTHOST_USES_FONTMGR
16
17 class SkDescriptor; 15 class SkDescriptor;
18 class SkScalerContext; 16 class SkScalerContext;
19 struct SkScalerContextRec; 17 struct SkScalerContextRec;
20 class SkStream; 18 class SkStream;
21 class SkWStream; 19 class SkWStream;
22 20
23 /** \class SkFontHost 21 /** \class SkFontHost
24 22
25 This class is ported to each environment. It is responsible for bridging 23 This class is ported to each environment. It is responsible for bridging
26 the gap between the (sort of) abstract class SkTypeface and the 24 the gap between the (sort of) abstract class SkTypeface and the
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 */ 122 */
125 static SkTypeface* CreateTypefaceFromFile(const char path[]); 123 static SkTypeface* CreateTypefaceFromFile(const char path[]);
126 124
127 /////////////////////////////////////////////////////////////////////////// 125 ///////////////////////////////////////////////////////////////////////////
128 126
129 friend class SkScalerContext; 127 friend class SkScalerContext;
130 friend class SkTypeface; 128 friend class SkTypeface;
131 }; 129 };
132 130
133 #endif 131 #endif
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | include/core/SkTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698