Skip to content

Commit

Permalink
Retstore the previous fontmacro's, because e.g. the InputFont no long…
Browse files Browse the repository at this point in the history
…er was bold.
gijsbers committed Nov 10, 2024

Verified

This commit was signed with the committer’s verified signature.
oliviertassinari Olivier Tassinari
1 parent 0c097bb commit 8275f3a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/fontmacro.h
Original file line number Diff line number Diff line change
@@ -43,17 +43,12 @@

#endif

// Prefer DejaVu but fallback to some other Sans provider if needed,
// influenced by :lang= later in yfontxft.cc.

#define FQUOT(x) #x
#define FSIZE(x) ":size=" FQUOT(x)
#define FSANSTOK "DejaVu Sans,Sans"
#define FBOLDTOK ":bold"
#define FSANS FSANSTOK FSIZE(12)
#define FBOLD FSANS FBOLDTOK
#define FSMAL FSANSTOK FSIZE(10) FBOLDTOK
#define FMONO "DejaVu Sans Mono,Sans Mono:monospace" FSIZE(12)
#define FMONB FMONO FBOLDTOK
#define FSANS "DejaVu Sans" FSIZE(12)
#define FBOLD FSANS ":bold"
#define FSMAL "DejaVu Sans" FSIZE(10) ":bold"
#define FMONO "DejaVu Sans Mono:monospace" FSIZE(12)
#define FMONB FMONO ":bold"

#endif

0 comments on commit 8275f3a

Please sign in to comment.