Skip to content

Use existing Chinese or Japanese characters bdf file and remove unwanted characters to reduce the font data size #2470

Answered by olikraus
AnthonyThet asked this question in Q&A
Discussion options

You must be logged in to vote

I suggest to create your own custom font, with the u8g2 bdfconv font tool. To use that tool you need the font sources.
I personally suggest to use .bdf as a font source, they are available here: https://github.com/olikraus/u8g2/tree/master/tools/font/bdf

More information on the conversion is available here:

u8g2/doc/faq.txt

Lines 255 to 288 in dc9fc73

Q: How can I generate my own font?
A: The font must be available in .bdf file format. Then use bdfconv to generate
the font data. The font data can be pasted into an existing file of your project.
There is also a nice Windows Bitmap Font Editor "Fony" (http://hukka.ncn.fi/?fony)
which can export .bdf files. A …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@olikraus
Comment options

Comment options

You must be logged in to vote
1 reply
@AnthonyThet
Comment options

Answer selected by AnthonyThet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants