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

Side by Side Diff: include/ports/SkFontMgr_custom.h

Issue 1817633002: Make FreeType usable on Windows. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: add missing file Created 4 years, 9 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 | « no previous file | src/core/SkAdvancedTypefaceMetrics.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 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkFontMgr_custom_DEFINED 8 #ifndef SkFontMgr_custom_DEFINED
9 #define SkFontMgr_custom_DEFINED 9 #define SkFontMgr_custom_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 class SkFontMgr; 13 class SkFontMgr;
14 14
15 /** Create a custom font manager which scans a given directory for font files. * / 15 /** Create a custom font manager which scans a given directory for font files. * /
16 SK_API SkFontMgr* SkFontMgr_New_Custom_Directory(const char* dir); 16 SK_API SkFontMgr* SkFontMgr_New_Custom_Directory(const char* dir);
17 17
18 /** Create a custom font manager that contains no built-in fonts. */
19 SK_API SkFontMgr* SkFontMgr_New_Custom_Empty();
20
18 #endif // SkFontMgr_custom_DEFINED 21 #endif // SkFontMgr_custom_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/core/SkAdvancedTypefaceMetrics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698