Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: bionictoothpick on December 07, 2024, 06:28:17 PM

Title: AttractMode Plus Font Display vs AttractMode (Resolved)
Post by: bionictoothpick on December 07, 2024, 06:28:17 PM
RESOLVED: Add .ttf after the font name...

This may not be the correct forum,

But my fonts show in my layout on attractmode, but not in attractmode plus.

Thoughts?
Title: Re: AttractMode Plus
Post by: kent79 on December 08, 2024, 03:14:55 AM
The format is

fe.layout.font = "font/impact.ttf";
Title: Re: AttractMode Plus
Post by: bionictoothpick on December 08, 2024, 11:46:02 AM
This is the code I'm using...

Font is in path, and installed on the windows machine.

local l = fe.add_text("[Title]", 5, 12, 550, 35 );
   l.set_rgb( 255, 255, 255 );
   l.font="Digital-7 Italic";
   l.align = Align.Left;
   l.style = Style.Bold;
   l.charsize = 28;
Title: Re: AttractMode Plus
Post by: kent79 on December 08, 2024, 03:52:12 PM
make sure with file extension name

l.font="Digital-7 Italic.ttf";
Title: Re: AttractMode Plus
Post by: bionictoothpick on December 09, 2024, 05:11:50 AM
Yes adding the .ttf worked!

Thank you.