News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Fonts in murgaLua (or FLTK)
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Fonts in murgaLua (or FLTK)

Fl:set_font(<font_name or number>,<new_font> )

For font names/numbers, consult the enumerations.html file.
I have no idea how system font names translate to different platforms.

On Linux I can change the courier font to terminus like this:

Code:
Fl:set_font(4,"-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1")

or

Code:
Fl:set_font(fltk.FL_COURIER,"-xos4-terminus-medium-r-normal--*")

This post was last modified: 06-24-2007 03:34 PM by mikshaw.

06-24-2007 03:33 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Fonts in murgaLua (or FLTK) - pdinoto - 06-24-2007, 02:37 PM
RE: Fonts in murgaLua (or FLTK) - mikshaw - 06-24-2007 03:33 PM
RE: Fonts in murgaLua (or FLTK) - mikshaw - 07-09-2007, 02:36 PM
RE: Fonts in murgaLua (or FLTK) - mikshaw - 07-11-2007, 08:44 AM
RE: Fonts in murgaLua (or FLTK) - pdinoto - 07-15-2007, 08:07 AM
RE: Fonts in murgaLua (or FLTK) - mikshaw - 07-15-2007, 09:05 AM
RE: Fonts in murgaLua (or FLTK) - pdinoto - 07-15-2007, 03:41 PM
RE: Fonts in murgaLua (or FLTK) - mikshaw - 07-15-2007, 04:33 PM
RE: Fonts in murgaLua (or FLTK) - pdinoto - 07-16-2007, 02:24 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: