Jump to content

Allow User to Specify Calibration Font


Recommended Posts

In the current implementation, during calibration, ugfx will attempt to open 2 calibration fonts. If either of these are missing, they will be replaced with a wildcard font open. In my particular case, this is problematic because I am not including the calibration font types and the wildcard font that gets opened happens to be a user font I've defined that isn't valid for displaying calibration text dialogs.

 

I see two solutions to this:

  1. Add #defines to allow user to define calibration fonts 1 & 2 in gfxconf.h
  2. Add an api call to allow user to set default calibration fonts at runtime.
Link to comment
Share on other sites

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...