will8211 / unimatrix

Python script to simulate the display from "The Matrix" in terminal. Uses half-width katakana unicode characters by default, but can use custom character sets. Accepts keyboard controls while running. Based on CMatrix.
GNU General Public License v3.0
1.74k stars 160 forks source link

Character/Font size adjustment? #36

Open dkrhino68 opened 3 years ago

dkrhino68 commented 3 years ago

Running this in Terminator. I can't seem to find a way to increase the size of the characters. I have adjusted the font size in the settings menu for Terminator and they are fine. When I start Unimatrix the characters are much smaller. Searching hasn't helped. Didn't see anything in the help menu. Have I missed something? thanks.

OS: Ubuntu 20.04.3 LTS x86_64 
Kernel: 5.4.0-84-generic 
Uptime: 3 days, 18 hours, 3 mins 
Packages: 2705 (dpkg), 12 (snap) 
Shell: bash 5.0.17 
Resolution: 1920x1080, 1920x1080 
DE: Plasma 

WM: KWin WM Theme: plastik Theme: Gently [Plasma], Breeze [GTK2/3] Icons: Breeze-Blur-Glassy Dark [Plasma], Breeze-Blur-Glassy Dark [GTK2/3]
Terminal: terminator CPU: AMD Ryzen 5 3400G (8) @ 4.000GHz GPU: NVIDIA GeForce RTX 2060 Memory: 5116MiB / 64246MiB

will8211 commented 3 years ago

Try running with "unimatrix -l o". That should run without any Unicode characters. Is the size OK then?

Your default font is likely missing characters and you don't have a suitable fallback font installed. Terminator is probably falling back to a font that doesn't play well with it. I recommend installing more font packs for your distro. Particularly east Asian fonts.

dkrhino68 commented 3 years ago

I noticed that running the katakana and alphabet together shows the katakana is smaller compared to the alphabet. So then maybe other east Asian fonts my display larger than what I already have installed? Not sure how to change the default Asian font. I did notice that in the "help file" it lists the katakana as "half width". I wonder if that is why it appears smaller than the alphabet?

will8211 commented 3 years ago

Half-width katakana is actually the same width as a normal character.

If you have more fonts installed, Terminator might be able to pick a more suitable font.

On Sun, Sep 12, 2021, 7:34 PM Darrell @.***> wrote:

I noticed that running the katakana and alphabet together shows the katakana is smaller compared to the alphabet. So then maybe other east Asian fonts my display larger than what I already have installed? Not sure how to change the default Asian font. I did notice that in the "help file" it lists the katakana as "half width". I wonder if that is why it appears smaller than the alphabet?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/will8211/unimatrix/issues/36#issuecomment-917732795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4WAPPLQSELM2KQHVPHUY3UBU2G7ANCNFSM5D4Q4XLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.