amethyst / amethyst/bracket-lib

Questions about bracket-term unicode mode.

Aperta
#219 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Rust
Stelle
1.7k
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello.
I am interested in RLTK recently.
As a Korean, I want to make the Korean language support.
So I tried to print Hangul(Korean characters) to the console.
But 'main' has panicked.
I managed to find that the [PNG font file](https://github.com/amethyst/bracket-lib/blob/57aac00ee07067f9f748d0273bce95e4638f0320/bracket-terminal/resources/unicode_16x16.png) caused the panic.
There is no combined hangul at all.

So, here's questions:
1. How can I append this font file?
I have some pixelated Hangul fonts that fit 16x16 size, but I do not know how this PNG file was made.
Let me know how you build this image, please?
2. It panicked at [hal\gl_common\backing\simple_console_backing.rs:119:21](https://github.com/amethyst/bracket-lib/blob/57aac00ee07067f9f748d0273bce95e4638f0320/bracket-terminal/src/hal/gl_common/backing/simple_console_backing.rs#L119)
It panicked due to `as`, and the message was not much helpful.
(`thread 'main' panicked at 'attempt to subtract with overflow'`)
How about using `TryFrom` or `TryInto` with `expect`?

Thank you.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.