GLCD Module - where to find FontLarge.bas ?

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
TonyR
Posts: 75
Joined: Fri Jan 14, 2011 11:49 pm
Location: Sydney
Contact:

GLCD Module - where to find FontLarge.bas ?

Post by TonyR » Sat Sep 06, 2014 9:40 pm

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.

TonyR
Posts: 75
Joined: Fri Jan 14, 2011 11:49 pm
Location: Sydney
Contact:

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

Post by TonyR » Sun Sep 07, 2014 2:30 am

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.

bitfogav
Registered User
Registered User
Posts: 169
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

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

Post by bitfogav » Sun Sep 07, 2014 11:18 am

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

TonyR
Posts: 75
Joined: Fri Jan 14, 2011 11:49 pm
Location: Sydney
Contact:

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

Post by TonyR » Mon Sep 08, 2014 9:47 pm

Thanks very much Bitforgav

Post Reply