Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print some characters bigger #15

Open
teto opened this issue Jul 18, 2023 · 1 comment
Open

print some characters bigger #15

teto opened this issue Jul 18, 2023 · 1 comment

Comments

@teto
Copy link
Contributor

teto commented Jul 18, 2023

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
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants