Author Topic: Raspberry PI BOLD font  (Read 376 times)



0 Members and 1 Guest are viewing this topic.

bobtarask

  • Newbie
  • *
  • Posts: 9
    • View Profile
Raspberry PI BOLD font
« on: September 04, 2016, 04:07:52 PM »
Hello,

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

Best,

Etienne

bobtarask

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Raspberry PI BOLD font
« Reply #1 on: September 05, 2016, 09:00:26 AM »
Hello I found the solution:

ftgl_load_font_v2(fontfile, fontsize, 2, 1)


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 997
    • View Profile
    • Geeks3D.com
Re: Raspberry PI BOLD font
« Reply #2 on: September 05, 2016, 06:05:32 PM »
Super, you're a genius!

bobtarask

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Raspberry PI BOLD font
« Reply #3 on: September 06, 2016, 10:04:02 AM »
JeGX_v2("thank","you","my","sweet","pixel","hacker")

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

Bonne journée