|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
gtk label text font controlhi list,
GTK1.2 was used to program button and text entry/display boxes. e.g gtk.GtkLabel(“text1”), gvutils.GvMenuFactory(), etc
All texts are fine on Windows, and RedHat Linux/Solaris 9 running GTK1.2. Now we run it on Fedora 8, CentOS 5 and Ubuntu 7.10, which have GTK2.0. The fonts become quite bigger. As result, the texts stick out of the pre-determined frames.
Is there a way to control the above text font (say specify Roman 14)? Or it is an issue with GTK2 and GTK1.2 (meaning more complicated)? thanks, Shawn
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
|
|
Re: gtk label text font controlHi Shawn,
Could environment variables be influencing things? I
have a vague recollection of having to unset the "GTK_RC_FILES" environment
variable sometimes to avoid conflicts between OpenEV's gtk 1.2 build and the
system's gtk 1.2 build (OpenEV's gtk would try to use the system RC files, with
poor results). I'd try looking at the environment variables and playing
with any GTK ones you find to see if something similar could be going on.
Failing that, I'd probably also take a look at the PATH and LD_LIBRARY_PATH
variables on the off chance that some gtk-2 library was being seen as
gtk-1.
Good
luck,
Gillian Walter From: openev-discuss-bounces@... [mailto:openev-discuss-bounces@...] On Behalf Of Gong, Shawn (Contractor) Sent: Wednesday, March 12, 2008 3:21 PM To: OpenEV Discussion List Subject: [Openev-discuss] gtk label text font control hi list,
GTK1.2 was used to program button and text entry/display boxes. e.g gtk.GtkLabel(“text1”), gvutils.GvMenuFactory(), etc
All texts are fine on Windows, and RedHat Linux/Solaris 9 running GTK1.2. Now we run it on Fedora 8, CentOS 5 and Ubuntu 7.10, which have GTK2.0. The fonts become quite bigger. As result, the texts stick out of the pre-determined frames.
Is there a way to control the above text font (say specify Roman 14)? Or it is an issue with GTK2 and GTK1.2 (meaning more complicated)? thanks, Shawn
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
| Free embeddable forum powered by Nabble | Forum Help |