Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 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_UTIL_FONTCONFIG_H_ | |
| 6 #define HEADLESS_PUBLIC_UTIL_FONTCONFIG_H_ | |
| 7 | |
| 8 namespace headless { | |
| 9 | |
| 10 // Initialize fontconfig by loading fonts from given path without following | |
| 11 // symlinks. This is a wrapper around FcInit from libfreetype bundled with | |
| 12 // Chromium modified to enable headless embedders to deploy in custom | |
| 13 // enviroments. | |
|
Sami
2017/05/15 10:18:38
typo: environments
altimin
2017/05/15 13:50:43
Done.
| |
| 14 void InitFonts(const char* font_config_path); | |
| 15 | |
| 16 void ReleaseFonts(); | |
| 17 | |
| 18 } // namespace headless | |
| 19 | |
| 20 #endif // HEADLESS_PUBLIC_UTIL_FONTCONFIG_H_ | |
| OLD | NEW |