Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify the default fallback font for normal alphabet characters #23

Closed
oimaasi opened this issue Jun 12, 2018 · 1 comment
Closed

Comments

@oimaasi
Copy link

oimaasi commented Jun 12, 2018

I want to use Siji icons to indicate workspaces in dwm, in combination with Terminus font for window titles and date etc. Currently I have the following setting in config.h

static const char *fonts[] = { "Wuncon Siji" /* Iconic Glyphs */
","
 "Terminus:pixelsize=20"    /* For Normal Text */
};

The problem is that if I place Siji before Terminus, the workspace icons are correctly displayed, but the text will fallback to another font which I don't want. On the other hand, when Terminus is placed before Siji, normal texts are OK, but the icons are replaced with some random Kanji.

Any suggestions?

Or it was the wrong way to specify multiple fonts in dwm? Anyway, the dwm-related example shown in the Github frontpage seems to be outdated ...

@oimaasi
Copy link
Author

oimaasi commented Jun 13, 2018

It should be

static const char *fonts[] = { "Terminus:pixelsize=16:antialias=true:autohint=true" , "Wuncon Siji" };

then both fonts work.

@oimaasi oimaasi closed this as completed Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant