enrico.dallavia Posted September 21, 2015 Report Posted September 21, 2015 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!
Joel Bodenmann Posted September 22, 2015 Report Posted September 22, 2015 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
enrico.dallavia Posted September 22, 2015 Author Report Posted September 22, 2015 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.
Joel Bodenmann Posted September 22, 2015 Report Posted September 22, 2015 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
enrico.dallavia Posted September 29, 2015 Author Report Posted September 29, 2015 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
Joel Bodenmann Posted September 29, 2015 Report Posted September 29, 2015 Thank you for letting us know that you got it working!We will try to write a dedicated desktop app for this in the future. But right know we have to get some other stuff done first.~ Tectu
Joel Bodenmann Posted October 23, 2015 Report Posted October 23, 2015 The online font converter is up and running again.Thank you for reporting this issue.~ Tectu
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now