Kaido Kert | 25902c6 | 2024-06-17 17:10:28 -0700 | [diff] [blame^] | 1 | // Copyright 2022 The Chromium Authors |
| 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 UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
| 6 | #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
| 7 | |
| 8 | #include "ui/gfx/font_render_params.h" |
| 9 | |
| 10 | namespace gfx { |
| 11 | |
| 12 | // Queries Fontconfig for rendering settings and updates |params_out| and |
| 13 | // |family_out| (if non-nullptr). Returns false on failure. |
| 14 | GFX_EXPORT bool QueryFontconfig(const FontRenderParamsQuery& query, |
| 15 | FontRenderParams* params_out, |
| 16 | std::string* family_out); |
| 17 | |
| 18 | } // namespace gfx |
| 19 | |
| 20 | #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |