Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started 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?
-
The format is
fe.layout.font = "font/impact.ttf";
-
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;
-
make sure with file extension name
l.font="Digital-7 Italic.ttf";
-
Yes adding the .ttf worked!
Thank you.