PLUS+1 User Forum

PLUS+1 Software => Displays => Topic started by: hproffitt on July 19, 2018, 09:47:09 PM

Title: DP200 large font
Post by: hproffitt on July 19, 2018, 09:47:09 PM
Creating a very simple display program for a DP200, so older screen editor, and would like the font to be quite large.  The display is only to show 2-3 digits.  Whenever I try to install a font any larger than a 36 size I receive the following error, "Font file size exceeds 65535 bytes. Please try with smaller font size."

Is there any way to accomplish this that I am not remembering?
Title: Re: DP200 large font
Post by: hproffitt on July 30, 2018, 10:02:14 PM
Took this up with the helpdesk.  No known work-around, fyi.
Title: Re: DP200 large font
Post by: BRIan on August 01, 2018, 12:49:50 AM
I've done this by creating graphics for the numbers 0 - 9, then using some logic turn the right ones on to represent the number required. I had 4 digits with dp ie 999.9
Title: Re: DP200 large font
Post by: hproffitt on August 01, 2018, 05:52:08 PM
I had considered that, but for as small as this project is it really wouldn't be justified to develop.

Thanks for the suggestion!
Title: Re: DP200 large font
Post by: oiltronic on December 21, 2018, 04:32:35 AM
I use the same solution as BRIan.  It's actually really easy. 
Other details like blanking out unused leading digits (enable list with flags like "enable_tens" when "tens">0), negative sign, and decimal points are easy enough to figure out.