Index: headless/public/util/fontconfig.h |
diff --git a/headless/public/util/fontconfig.h b/headless/public/util/fontconfig.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c056132843bf7ba6bb8a20f5eee956cb9512f9a8 |
--- /dev/null |
+++ b/headless/public/util/fontconfig.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
Sami
2017/05/12 16:35:52
++year
altimin
2017/05/12 17:39:10
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#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.
|
+#define HEADLESS_PUBLIC_INIT_FONTS_H_ |
+ |
+namespace headless { |
+ |
+// 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.
|
+void InitFonts(const char* font_config_path); |
+ |
+void ReleaseFonts(); |
+ |
+} // namespace headless |
+ |
+#endif // HEADLESS_PUBLIC_INIT_FONTS_H_ |
Sami
2017/05/12 16:35:52
Ditto.
altimin
2017/05/12 17:39:10
Done.
|