Home > Archive > Tcl > April 2007 > KDE and Gnome fonts
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
KDE and Gnome fonts
|
|
|
| While using tileqt I thought it should be appropriate to also pick
some standard fonts used by KDE. On my SUSE 10 box it says "Sans Serif
10" but if I do 'font families' in wish I wont see it. And if I
configure a font I just get -family fixed as a fallback. Similar on
Gnome for "Sans". Tk finds a lot of font families but not these.
Anyone knows?
/Mats
| |
| Eric Brunel 2007-04-25, 8:06 am |
| On Wed, 25 Apr 2007 09:39:07 +0200, Mats <matsben@gmail.com> wrote:
> While using tileqt I thought it should be appropriate to also pick
> some standard fonts used by KDE. On my SUSE 10 box it says "Sans Serif
> 10" but if I do 'font families' in wish I wont see it. And if I
> configure a font I just get -family fixed as a fallback. Similar on
> Gnome for "Sans". Tk finds a lot of font families but not these.
> Anyone knows?
The fonts you don't see are those using the new X font system based on
Xft. Tk doesn't have Xft support yet, but it's planned for version 8.5
(see http://wiki.tcl.tk/10630). Get tcl/tk 8.5a5 from
http://www.tcl.tk/software/tcltk/8.5.html or the latest CVS version, then
configure tk with the --enable-xft switch and you should see all the fonts.
HTH
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])"
| |
|
| On 25 Apr, 12:24, "Eric Brunel" <eric.bru...@pragmadev.com> wrote:
> On Wed, 25 Apr 2007 09:39:07 +0200, Mats <mats...@gmail.com> wrote:
>
> The fonts you don't see are those using the new X font system based on
> Xft. Tk doesn't have Xft support yet, but it's planned for version 8.5
> (seehttp://wiki.tcl.tk/10630). Get tcl/tk 8.5a5 from http://www.tcl.tk/software/tcltk/8.5.htmlor the latest CVS version, then
> configure tk with the --enable-xft switch and you should see all the fonts.
>
Thanks. That also explains the:
if {![catch {tk::pkgconfig get fontsystem} fs] && $fs eq "xft"} {
in tile.
Mats
|
|
|
|
|