Page 1 of 1

GLCD Module - where to find FontLarge.bas ?

Posted: Sat Sep 06, 2014 9:40 pm
by TonyR
Hi All,

I bought some S1D13700 GLCDs and want to try out the GLCD and Touch Screen modules but the sample program keyboard.bas needs FontLarge.bas.

Can anyone email me this file or point me in the direction of what is is and/or how to build it ?

Thanks very much,

Tony R.

Re: GLCD Module - where to find FontLarge.bas ?

Posted: Sun Sep 07, 2014 2:30 am
by TonyR
I think I figured out this one, if someone with wisdom and experience could confirm

In the SF GLCD example there is a line:

Code: Select all

include "Verdana.bas"              // font library
By substituting Verdana.bas for FontLarge.bas the program compiles with no errors.

I guess this means there are some different fonts available, if there is a list of them and/or where to find, or creation format please let me know.

Thanks,

Much appreciated, TonyR.

Re: GLCD Module - where to find FontLarge.bas ?

Posted: Sun Sep 07, 2014 11:18 am
by bitfogav
Hi,

I think your find FontLarge.bas was something Steve used and is not available, at the bottom of the module page it states
"N.B. Replace the font include 'FontLarge.bas' and the GLCD.SetFont(FontLarge) to your own font."

There should be a list of fonts within the Swordfish install folder for example:
C:\ProgramData\Mecanique\Swordfish\Library\GLCD\Fonts

You can actually make your own fonts by using the Swordfish plugin "Font Converter" this is found with the menu tab "Plugin" within the IDE

I hope this helps what you are looking for. :)

Re: GLCD Module - where to find FontLarge.bas ?

Posted: Mon Sep 08, 2014 9:47 pm
by TonyR
Thanks very much Bitforgav