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

About create font #43

Closed
nguyentrungg opened this issue Jun 14, 2024 · 2 comments
Closed

About create font #43

nguyentrungg opened this issue Jun 14, 2024 · 2 comments

Comments

@nguyentrungg
Copy link

Hi. Thank you for creating a perfect library.
I want to ask you how to create file .FNT from .ttf file example: concielian.ttf.
Thank you so much.

@nopnop2002
Copy link
Owner

nopnop2002 commented Jun 14, 2024

TTF fonts are scalable fonts.

FNT fonts are bitmap fonts.

Searching for this keyword brings up several hits, but I have never tried it.

convert scalable fonts to bitmap font

@nopnop2002
Copy link
Owner

nopnop2002 commented Jun 14, 2024

Convert from TTF font to FONTX font

step1)
Download WFONTX64.exe from here.
Developer page is here.

step2)
Select ttf font.
WFINTX64-1

step3)
Enter Height, Width, FontX2 name.
Specify half of Height for Width.
Specify your favorite font name in the FontX2 name field using up to 8 characters.
WFINTX64-2

step4)
Specify the file name to save.
WFINTX64-3

step5)
Specify the font style as required.
WFINTX64-4

step6)
Press the RUN button to convert TTF fonts to FONTX format.
WFINTX64-4

TTF_FONT

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

2 participants