mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-13 08:21:03 -04:00
config: change default font size from 8 to 12
This commit is contained in:
parent
037a2f4fa2
commit
fd63c19d40
3 changed files with 4 additions and 4 deletions
4
config.c
4
config.c
|
|
@ -4108,7 +4108,7 @@ config_font_parse(const char *pattern, struct config_font *font)
|
||||||
FcConfigDestroy(fc_conf);
|
FcConfigDestroy(fc_conf);
|
||||||
|
|
||||||
if (have_pt_size != FcResultMatch && have_px_size != FcResultMatch)
|
if (have_pt_size != FcResultMatch && have_px_size != FcResultMatch)
|
||||||
pt_size = 8.0;
|
pt_size = 12.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
FcPatternRemove(pat, FC_SIZE, 0);
|
FcPatternRemove(pat, FC_SIZE, 0);
|
||||||
|
|
@ -4148,7 +4148,7 @@ check_if_font_is_monospaced(const char *pattern,
|
||||||
user_notifications_t *notifications)
|
user_notifications_t *notifications)
|
||||||
{
|
{
|
||||||
struct fcft_font *f = fcft_from_name(
|
struct fcft_font *f = fcft_from_name(
|
||||||
1, (const char *[]){pattern}, ":size=8");
|
1, (const char *[]){pattern}, ":size=12");
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ empty string to be set, but it must be quoted: *KEY=""*
|
||||||
sizes are unaffected by DPI aware rendering (see *dpi-aware*), but
|
sizes are unaffected by DPI aware rendering (see *dpi-aware*), but
|
||||||
are affected by desktop scaling.
|
are affected by desktop scaling.
|
||||||
|
|
||||||
Default: _monospace:size=8_ (*font*), _not set_ (*font-bold*,
|
Default: _monospace:size=12_ (*font*), _not set_ (*font-bold*,
|
||||||
*font-italic*, *font-bold-italic*).
|
*font-italic*, *font-bold-italic*).
|
||||||
|
|
||||||
*font-size-adjustment*
|
*font-size-adjustment*
|
||||||
|
|
|
||||||
2
foot.ini
2
foot.ini
|
|
@ -8,7 +8,7 @@
|
||||||
# title=foot
|
# title=foot
|
||||||
# locked-title=no
|
# locked-title=no
|
||||||
|
|
||||||
# font=monospace:size=8
|
# font=monospace:size=12
|
||||||
# font-bold=<bold variant of regular font>
|
# font-bold=<bold variant of regular font>
|
||||||
# font-italic=<italic variant of regular font>
|
# font-italic=<italic variant of regular font>
|
||||||
# font-bold-italic=<bold+italic variant of regular font>
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue