Problems with pure X11 program's Fonts
Aaron Lewis
aaron.lewis1989 at gmail.com
Thu Mar 4 06:11:04 PST 2010
Dear Harry ,
Harald Braumann wrote:
> On Thu, Mar 04, 2010 at 09:13:18PM +0800, Aaron Lewis wrote:
>
>> Hi,
>> I'm trying CrossOver for Linux , it's a pure X11 Program , and i
>> got an ugly UI.
>> It's problem with my fonts. I know i should modify ~/.Xdefaults .
>>
>> Google ain't giving much information , do anyone knows howto change
>> X11 defaults fonts ?
>>
> I guess you don't mean CrossOver-Wine and you're talking about core
> fonts?
>
> Start xfontsel and select the font, you'd like to
> use. Copy the font specification and add it to your ~/.Xdefaults, like
> this:
> *font: -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*
>
> Then call `xrdb -merge ~/.Xdefaults' or restart X.
>
> This will change the default font for all good old X programmes. If you
> only want to change the font for CrossOver, you'd have to do:
> <app>*font: ...
>
> Of course you first have to find out what <app> is for CrossOver. Usually
> programmes that can be configured through xresources document that
> somewhere.
>
> If xfontsel doesn't show you nice fonts, you have to add more FontPath
> entries to your xorg.org.
>
> harry
>
I did like this :
open xfontsel , and choose a good font , then use "select" to copy ,
use xrdb to reload configuration.
Still got an ugly fonts .. This time , i tried with putty , i checked
and thought it's pure X11 program. (checked the library it linked)
My ~/.Xdefaults is in attachment .
Now , i was wondering if i made some mistakes ..
ldd of CrossOver Main UI:
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x008cb000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0099e000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x004e1000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00e63000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0070c000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0030a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00c78000)
/lib/ld-linux.so.2 (0x0043d000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00110000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00113000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00116000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00e5d000)
ldd of putty:
%> ldd `which putty`
linux-gate.so.1 => (0xffffe000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x00232000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x00575000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x00c60000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x0064c000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00a7d000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x005c4000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00941000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00de9000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00728000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00c85000)
/lib/ld-linux.so.2 (0x00412000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00540000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x005d7000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00110000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x008e7000)
My Gtk (2.0+) Program has a good UI , everything fine .
If it's problem with gtk1's rc file , i would make mistakes.
--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .Xdefaults
URL: <http://lists.x.org/archives/xorg/attachments/20100304/ab516b17/attachment.ksh>
More information about the xorg
mailing list