Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: bobtarask on September 04, 2016, 05:07:52 PM

Title: Raspberry PI BOLD font
Post by: bobtarask on September 04, 2016, 05:07:52 PM
Hello,

How do you load font with bold style in the lua script  with ftgl_load_font ?

Best,

Etienne
Title: Re: Raspberry PI BOLD font
Post by: bobtarask on September 05, 2016, 10:00:26 AM
Hello I found the solution:

ftgl_load_font_v2(fontfile, fontsize, 2, 1)

Title: Re: Raspberry PI BOLD font
Post by: JeGX on September 05, 2016, 07:05:32 PM
Super, you're a genius!
Title: Re: Raspberry PI BOLD font
Post by: bobtarask on September 06, 2016, 11:04:02 AM
JeGX_v2("thank","you","my","sweet","pixel","hacker")

Le projet est un grand succès grâce à toi

Bonne journée