question about shaded glyphs / characters
Hello. I was playing around with a small C code:
#include <locale.h>
#include <stdio.h>
#include <wchar.h>
int main() {
wchar_t s[2];
setlocale(LC_ALL, "");
for (int i = 0x2580; i < 0x2595; i++) {
s[0] = i;
s[1] = 0;
printf("%x => %ls\n", i, s);
}
return 0;
}
and then I noticed that the glyphs in the terminal:
do not render like in gucharmap (or like in reference renderings on wikipedia, etc):
after long googling, I was able to track it down to the following line:
https://gitlab.gnome.org/GNOME/vte/blob/master/src/vtedraw.cc#L1610
would it be possible to implement it differently? That is - after cairo_rectangle
call, fill it up with dots ? I assume this would either be putting pixels in a loop or drawing small circles (?). I was trying to achieve the same effect as seen on old DOS-based systems and currently the only way for me to do that is to use a terminal like rxvt, or konsole and then disable antialiasing / font smoothing, like so:
kind regards