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

Side by Side Diff: headless/public/util/fontconfig.h

Issue 2877813002: [headless] Enable headless embedders to specify fonts. (Closed)
Patch Set: Created 3 years, 7 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 // Copyright 2016 The Chromium Authors. All rights reserved.
Sami 2017/05/12 16:35:52 ++year
altimin 2017/05/12 17:39:10 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef HEADLESS_PUBLIC_INIT_FONTS_H_
Sami 2017/05/12 16:35:52 HEADLESS_PUBLIC_UTIL_FONTCONFIG_H
altimin 2017/05/12 17:39:10 Done.
6 #define HEADLESS_PUBLIC_INIT_FONTS_H_
7
8 namespace headless {
9
10 // Wrapper around FcInit() given that libfreetype is built into chromium.
Sami 2017/05/12 16:35:52 Let's describe what this actually does, i.e., init
altimin 2017/05/12 17:39:10 Done.
11 void InitFonts(const char* font_config_path);
12
13 void ReleaseFonts();
14
15 } // namespace headless
16
17 #endif // HEADLESS_PUBLIC_INIT_FONTS_H_
Sami 2017/05/12 16:35:52 Ditto.
altimin 2017/05/12 17:39:10 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698