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

Side by Side Diff: src/ports/SkFontMgr_custom_directory_factory.cpp

Issue 1184923002: Refactor SkFontHost_linux into SkFontMgr_custom. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Don't export embedded. Created 5 years, 6 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
OLDNEW
(Empty)
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 #include "SkFontMgr.h"
9 #include "SkFontMgr_custom.h"
10
11 #ifndef SK_FONT_FILE_PREFIX
12 # define SK_FONT_FILE_PREFIX "/usr/share/fonts/"
13 #endif
14
15 SkFontMgr* SkFontMgr::Factory() {
16 return SkFontMgr_New_Custom_Directory(SK_FONT_FILE_PREFIX);
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698