1 /* 2 * Copyright 2015 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkFontMgr_directory_DEFINED 9 #define SkFontMgr_directory_DEFINED 10 11 #include "SkRefCnt.h" 12 #include "SkTypes.h" 13 14 class SkFontMgr; 15 16 /** Create a custom font manager which scans a given directory for font files. 17 * This font manager uses FreeType for rendering. 18 */ 19 SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir); 20 21 #endif // SkFontMgr_directory_DEFINED 22