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

Font error #8

Open
ghost opened this issue Oct 6, 2023 · 1 comment
Open

Font error #8

ghost opened this issue Oct 6, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 6, 2023

When I try to display some text, the display screen shows garbage instead of text.
I looked at the font files, they look strange, instead of the usual:
const uint8_t Font12_Table[] =

{
0x00, //
0x00, //
0x00, //
0x00, //
0x00, //
0x00, //

A file with strange content is displayed:

Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ � �Ђ�Ђ� � �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ �Ђ�Ђ�Ђ�Ђ�Ђ�Ђ ~Ђ p p � � | � | � � 1 HЂяАGЂ 0 HЂI 2 � $ЂDЂ�Ђ� � 4ЂHЂHЂtЂ� � �Ђ Ђ p �Ђ @@ @ @�Ђ ( p ( � � � � � @ А � � � Ђ @�Ђ� 0 @ ? aЂ@ЂaЂ? �Ђ AЂBЂDЂ8Ђ !ЂHЂHЂ7 � � � " �Ђ� y HЂHЂG � hЂHЂHЂ� @ CЂ\ 7 HЂHЂHЂ7 8ЂDЂDЂE > �Ђ @�А �
`

@ChangYanChu
Copy link

Font files are binary files generated by font generation software. I had no issues when using this library. Maybe you need to double-check your code?

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

No branches or pull requests

1 participant