blob: e8d4bb3f3e5059955321931f2dd6e0af4f634630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkFontMgr.h"
#include "SkFontMgr_directory.h"
#ifndef SK_FONT_FILE_PREFIX
# define SK_FONT_FILE_PREFIX "/usr/share/fonts/"
#endif
sk_sp<SkFontMgr> SkFontMgr::Factory() {
return SkFontMgr_New_Custom_Directory(SK_FONT_FILE_PREFIX);
}
|