proycon / vocage

A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

print some characters bigger

teto opened this issue · 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

I have the same issue