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

Adds support for japanese characters #73

Merged
merged 2 commits into from
Mar 27, 2019
Merged

Adds support for japanese characters #73

merged 2 commits into from
Mar 27, 2019

Conversation

abishekvashok
Copy link
Owner

Adds classic mode which can be invoked with "c", which uses Japanese
characters instead of the regular English characters that cmatrix
outputed earlier. Done to match up with the original matrix.

The starting, ending, and range for randum number (corresponding to the
unicode character) is modified to suite the Japanese character range.
Requires appropriate Japanese fonts to make it work.

Fixes #57

The second commit:
Modifies code to calculate randnum from values of highnum and randmin
which are used for matrix randum unicode generation. The last
implementation contained hardcoded values.

Adds classic mode which can be invoked with "c", which uses Japanese
characters instead of the regular English characters that cmatrix
outputed earlier. Done to match up with the original matrix.

The starting, ending, and range for randum number (corresponding to the
unicode character) is modified to suite the Japanese character range.
Requires appropriate Japanese fonts to make it work.

Fixes #57
Signed-off-by: Abishek V Ashok <[email protected]>
Modifies code to calculate randnum from values of highnum and randmin
which are used for matrix randum unicode generation. The last
implementation contained hardcoded values.

Signed-off-by: Abishek V Ashok <[email protected]>
@abishekvashok abishekvashok changed the title Pull1 Adds support for japanese characters Mar 27, 2019
@abishekvashok abishekvashok merged commit ad212c8 into master Mar 27, 2019
@abishekvashok abishekvashok deleted the pull1 branch March 27, 2019 13:42
@p1r473
Copy link

p1r473 commented Feb 12, 2024

How do I install fonts?
I installed with apt install cmatrix
Get error setfont: ERROR setfont.c:402 kfont_load_font: Cannot find default font
cmatrix -lbac:
image

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

Successfully merging this pull request may close these issues.

Unicode Japanese Characters
2 participants