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 // environments. |
| 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 |