Font name and style are ignored on linux. You pass that in the string with
the font name.
Yust have a look at what you get back from FontRequester(). You
have to pass that to LoadFont()
Linux 2d drawing tutorials
-
- Enthusiast
- Posts: 152
- Joined: Sun Jul 11, 2004 7:48 pm
- Location: Lillehammer, No(r)way
- Contact:
Well FontRequester() return either 0 or 1...
But SelectedFontName() return the fontname string,
lets say "-urw-avantgarde-demibold-r-normal-*-*-280-*-*-p*-microsoft-cp1251".
So if you pass this one to the LoadFont() it's ok..
Trouble is when you do this in the source posted earlier
in the thread, you still get the default font...
But SelectedFontName() return the fontname string,
lets say "-urw-avantgarde-demibold-r-normal-*-*-280-*-*-p*-microsoft-cp1251".
So if you pass this one to the LoadFont() it's ok..
Trouble is when you do this in the source posted earlier
in the thread, you still get the default font...
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact: