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

Make it possible to display non ASCII even on Linux console #667

Closed
kachick opened this issue Jul 11, 2024 · 9 comments
Closed

Make it possible to display non ASCII even on Linux console #667

kachick opened this issue Jul 11, 2024 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kachick
Copy link
Owner

kachick commented Jul 11, 2024

No kmscon as written in #660, the Linux console displays Japanese file names as Tofu.

https://wiki.archlinux.org/title/Fbterm
https://salsa.debian.org/debian/fbterm/-/tree/master
https://qiita.com/Pseudonym/items/12e447557a5234bb265b
https://github.com/ruo91/jfbterm

@kachick kachick added the enhancement New feature or request label Jul 11, 2024
@kachick kachick added this to 🛸 Jul 11, 2024
@github-project-automation github-project-automation bot moved this to 🙋‍♂ in 🛸 Jul 11, 2024
kachick added a commit that referenced this issue Jul 11, 2024
Mandatory atleast we have problems as #667
@kachick
Copy link
Owner Author

kachick commented Jul 12, 2024

@kachick
Copy link
Owner Author

kachick commented Jul 13, 2024

http://jikasei.me/font/kh-dotfont/
https://devforum.play.date/t/japanese-pixel-fonts-with-kanji-support/1807/5

ビットマップ風
これらはすべて TrueType 形式

Not actual Bitmap Font... 😢

@kachick kachick moved this from 🙋‍♂ to 🤷‍♂️ in 🛸 Jul 26, 2024
@kachick kachick changed the title Make it possible to display non ASCII even on non X console Make it possible to display non ASCII even on Linux console Aug 5, 2024
@kachick
Copy link
Owner Author

kachick commented Aug 5, 2024

👁️

https://wiki.archlinux.jp/index.php/%E3%83%95%E3%82%A9%E3%83%B3%E3%83%88#.E3.83.93.E3.83.83.E3.83.88.E3.83.9E.E3.83.83.E3.83.97

Unifont – 8×16、16×16 (Unicode のカバー率が最も高いフォント) (bdf-unifontAUR)

https://unifoundry.com/unifont/index.html

PSF: A specialized PSF 1 console frame buffer font consisting of 512 glyphs for use with APL, A Programming Language, in console mode (single-user mode on GNU/Linux, etc.), mainly to support GNU APL: Unifont-APL8x16-15.1.05.psf.gz (4 kbytes)

@kachick
Copy link
Owner Author

kachick commented Aug 5, 2024

https://wiki.osdev.org/PC_Screen_Font

The other advantage is that PSF fonts can store the whole UNICODE character set, although consolefonts have maximum 512 glyphs usually.

Ah... I didn't know, this looks like a PSF restriction...?

So converting cannot resolve this problem. And if I want to completely avoid Tofu, I should remove non English and emojis...

@kachick
Copy link
Owner Author

kachick commented Aug 5, 2024

https://manpages.ubuntu.com/manpages/trusty/man1/bdf2psf.1.html

They also have to have either 256 or 512 glyphs.

@kachick
Copy link
Owner Author

kachick commented Sep 6, 2024

😢

@kachick kachick closed this as completed Sep 6, 2024
@github-project-automation github-project-automation bot moved this from 🤷‍♂️ to 🎉 in 🛸 Sep 6, 2024
@kachick kachick added the help wanted Extra attention is needed label Sep 6, 2024
@kachick
Copy link
Owner Author

kachick commented Sep 15, 2024

kachick added a commit that referenced this issue Oct 20, 2024
* Prefer English for system default
* Ensure ASCII in Linux VT console
* Prefer ISO 8601 date format with en_DK hack

ref: GH-667, GH-858
kachick added a commit that referenced this issue Dec 1, 2024
Since giveup GH-667, I don't have any reason to
choose console fonts with the Japanese glyphs

Update GH-721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Archived in project
Development

No branches or pull requests

1 participant