简体   繁体   中英

How to get ubuntu default font?

You know, unity-tweak-tool has a setting for fonts. Default font, Monospace font, Document font and Window title font.

My question is how to get those font names in C?

使用g_settings_get_string()从org.gnome.desktop.interface获取dconf设置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM