Jump to content

Recommended Posts

Posted

Hello, I've tried to generate file for custom fonts from uGfx online convert, but I got always "could not import font".

I have a ttf font (whom I can preview from linux or windows). I tried also with other font from linux system but without success.

Any suggestion?

Thanks!

Posted

Our server was recently updated and the update included a new PHP version. It looks like the update broke the font converter.

Unfortunately we are currently very busy and we won't have time to look into this ASAP.

We are currently thinking of either writing a dedicated desktop application for this or include the functionality into the uGFX-Studio.

We are sorry for the inconvenience.

~ Tectu

Posted

Thanks for the answer,

it will be very helpful to have a dedicated application instead of relying on web only.

Is there any specification I can look into to try to do it myself? because within a month I think I will need the custom fonts.

Posted

uGFX internally uses mcufont as the author of mcufont was kind enough to provide us with a public domain license so we can include it in uGFX. The mcufont repository provides the sources for the font encoder. You can try building the binary from the sources.

~ Tectu

Posted

Thanks, it works fine!!

./mcufont import_ttf Quicksand-Regular.ttf 12, -> the command's output is the Quicksand-Regular12.dat file

./mcufont rlefont_export Quicksand-Regular12.dat myfont.c -> gave as output myfont.c file, rename it in userfonts.h to be able to use it inside ugfx

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...