proycon / vocage

A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal
GNU General Public License v3.0
145 stars 10 forks source link

print some characters bigger #15

Open teto opened 1 year ago

teto commented 1 year ago

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

alirezaalavi87 commented 7 months ago

I have the same issue