instantOS / instantWM

The window manager for instantOS
MIT License
334 stars 38 forks source link

Glyphs not rendering #38

Open samwdp opened 3 years ago

samwdp commented 3 years ago

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 commented 3 years ago

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:

https://github.com/instantOS/instantWM/blob/0362201ae2699613923788d7e92616a7881e5ede/config.def.h#L14 https://github.com/instantOS/instantWM/blob/0362201ae2699613923788d7e92616a7881e5ede/config.def.h#L17 https://github.com/instantOS/instantWM/blob/0362201ae2699613923788d7e92616a7881e5ede/config.def.h#L217

paperbenni commented 3 years ago

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

samwdp commented 3 years ago

@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 commented 3 years ago

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

samwdp commented 3 years ago

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