You are not logged in.
I am trying to use siji fonts in dwm and st terminal. It seems that I have installed siji correctly, fc-list shows it and I have added it to dwm and st config files. However when I am trying to use it in status bar or just echo some symbol in terminal it shows me symbols from my first font. How can I print symbols from other installed fonts in terminal?
MOD EDIT: This user's username has been changed by the admins for being unreasonably offensive.
Last edited by fukawi2 (2020-05-07 01:16:30)
Offline
... I have added it to dwm and st config files
How, exactly? Is the symbol font listed first? (And you've recompiled them?)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moving to Newbie Corner.
Offline
It is listed first in *fonts[]. Yes, i've recompiled and installed dwm. When i set siji font first in dwm config, it changes fonts in status bar, though i don't understand what font is it.
Last edited by Anonymous2020 (2020-05-06 15:49:17)
Offline
How, exactly?
Show actual configs and actual output of `fc-match` with whatever you put in the config.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
fc-matchFreeSans.oft: "FreeSans" "Regular"line with fonts from dwm config:
static const char *fonts[] = {"ANONYMOUS PRO:pixelsize=20", "-wuncon-siji-medium-r-normal--10-100-75-75-c-80-iso10646-1"};Offline
*headdesk*
So 1 - you posted the output of fc-match with *nothing* rather than with the font as requested, and 2 - you posted a config that showed your answer in post 4 was incorrect. I'm not sure why you chose your screen name, but don't try to live up to it.
Symbols will be taken from the first listed font that provides them.
Last edited by Trilby (2020-05-06 17:51:28)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
For st you could try
https://st.suckless.org/patches/font2/
excerpt from my dwm config.h
static const char *fonts[] = {
"pango:EnvyCodeR:size=9",
"Siji:size=9"
};Last edited by cirrus (2020-05-06 18:07:44)
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Cirrus, that config will not use symbols from Siji if the same code point is provided by EnvyCodeR which is the problem the OP is having.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you Trilby, all this time i thought the symbols on my top status bar were provided by siji not envy code r, or is it simply due to this ?
regards
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
I have no idea what's in your status bar. I did not say your config would not allow you to use siji symbols; it will, but only if those code points are not also provided by EnvyCodeR.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
gotcha !
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
For st you could try
https://st.suckless.org/patches/font2/excerpt from my dwm config.h
static const char *fonts[] = { "pango:EnvyCodeR:size=9", "Siji:size=9" };
Thanks for your reply. It was helpful. Apparently, I misread something from guide for siji, setting "Siji" in fonts (instead of what was in guide) after my normal one helps. I can see now icons in dwm and status bar. However, I still can't see icons in terminal.
I have this patch installed and it looks like this
static char *font2[] = { "Siji:size=9:antialias=true:autohint=true" }; Offline
icons in terminal try install symbola fonts for emojis in st you need libxft-brga from aur
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline