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

Glyphs not rendering #38

Open
samwdp opened this issue Oct 1, 2020 · 5 comments
Open

Glyphs not rendering #38

samwdp opened this issue Oct 1, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@samwdp
Copy link

samwdp commented Oct 1, 2020

I have changes the tags to rune glyphs.

The fonts I use in Emacs and for intsantwm is Noto Mono Nerd Font
I can verify this still happens when the font is default Fira Code Nerd Font.

Is this something that I have misconfigured or is this a problem with the window manager itself?

image

@con-f-use con-f-use added the bug Something isn't working label Oct 1, 2020
@con-f-use
Copy link
Member

con-f-use commented Oct 1, 2020

Did you try setting the font in your xresources file? The terminal font is an independent thing, afaik.

Example ~/.XResources:

instantwm.font: FiraCode:size=11

instantwm.bgcolor: #212337
instantwm.hovershadowcolor: #5c669b
instantwm.hoverbgcolor: #7a88cf

instantwm.minimize: #7a88cf
instantwm.darkminimize: #5c669b

instantwm.darkactivetag: #FF79Ce
instantwm.activetag: #FF92Da

instantwm.hoverfocus: #7a64a0
instantwm.darkhoverfocus: #6e5991

instantwm.darkfocus: #5c669b
instantwm.focus: #7a88cf

(source: https://discordapp.com/channels/683782260071071764/696269945188646952/759868223113003088)

It might be hardcoded, though. See:

static const char *fonts[] = {"Cantarell-Regular:size=12", "Fira Code Nerd Font:size=12"};

static char xresourcesfont[30];

{ "font", STRING, &xresourcesfont },

@paperbenni
Copy link
Member

How did you configure the WM? Using Xresources or the source code?

@samwdp
Copy link
Author

samwdp commented Oct 1, 2020

@con-f-use i have a font.config in .config/fontconfig set to use the various Noto Nerd Fonts then I am referencing the monospace:size=10 in the config.h file which the window manager picks up. I can try the XResources file through

@paperbenni I installed instantos yesterday, downloaded the src for instantwm and changed the tags to these and restarted the window manager

@paperbenni
Copy link
Member

You might have to change the font to something that contains your needed symbols

@samwdp
Copy link
Author

samwdp commented Oct 1, 2020

You might have to change the font to something that contains your needed symbols

according to fc-match the fonts I have used contains the unicode characters for these glyphs. I tried forcing Noto Serif Runic and still they are not rendered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants