vocage icon indicating copy to clipboard operation
vocage copied to clipboard

print some characters bigger

Open teto opened this issue 1 year ago • 1 comments

I have an issue when studying japanese, kanjis appear way too small in terminal, to the point it's almost unreadable. One solution is to zoom but then romaji (ie., roman alphabet) characters are too big. I am writing a script that when starting a terminal displays a random anki card in terminal (like the "fortune" program). What I do to circumvent the issue is that I generate a picture from the kanjis and display it in terminal (there are many protocols, sixel etc, I use kitty ), e.g.:

convert -background lightblue -fill black  -pointsize 80 label:出来る out.png
timg out.png # timg is a program to display images in terminals
echo "translation: get out"

I wonder if we could do something similar in vocage, aka display the first column bigger via an image (since terminals can't display varying size texts) ? and more importantly do you have an idea how hard it would be to do with vocage's dependencies ? I dont mind maintaining a fork if this can't be upstreamed but I have no idea how possible it is

teto avatar Jul 18 '23 08:07 teto

I have the same issue

alirezaalavi87 avatar Apr 16 '24 13:04 alirezaalavi87