blob: fa63c3d10dae99de311a3ee95f262a7808fc94b1 [file] [log] [blame]
Kaido Kert25902c62024-06-17 17:10:28 -07001// 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
10namespace gfx {
11
12// Queries Fontconfig for rendering settings and updates |params_out| and
13// |family_out| (if non-nullptr). Returns false on failure.
14GFX_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_