Hello all,
I am currently trying to make a conky clone in Nim (to learn Nim). I am using X11 (package) to show all the magic. The problem i currently have is that i am running circles because of fonts. I don't want to have too much dependencies with other libraries except X11. And here is the point where all problems starts.
So far i can tell is that X11 cannot load scalable fonts unless XFT is used. There is another option to load fonts (mkfontscale and mkfontdir), that needs sudo access to be executed. So the last option is not a option and this also doesn't seem to work, so back to XFT. I looked in the X11 package but i can't find anything about XFT, so i am guesing that XFT is independent from X11.
I looked in all nimble packages if anybody created a simple font reader for X11, but all i can find is based on SDL/OPENGL/GTK.
Can somebody help me in the right direction. Thanks!
When you're done best make a github repository for it and add it to the nimble packages so that in the future other people can use it.
Hi def,
I tried to convert the library but it gives an error code (; expected). I can barely work with C code, that's why i did choose for Nim. C is a bit too low level for me.