Skip to content

Adds support for japanese characters#73

Merged
abishekvashok merged 2 commits intomasterfrom
pull1
Mar 27, 2019
Merged

Adds support for japanese characters#73
abishekvashok merged 2 commits intomasterfrom
pull1

Conversation

@abishekvashok
Copy link
Copy Markdown
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 <abishekvashok@gmail.com>
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 <abishekvashok@gmail.com>
@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
Copy Markdown

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