Author |
Message |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Fri 16 Dec 2005, 16:22 Post subject:
|
|
freetype-6.3.8.pup and bitstream.pup are available in the additional software forum if you want to try. To get the fonts in gtk apps you will have to edit you gtkrc files.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Sat 17 Dec 2005, 00:13 Post subject:
|
|
Thanks Bombay.
hmmm... different,but not perfect.
Must play around with the settings a bit.
I think the freetype has the most important effect.
I personally prefer non-Antialiased fonts, how they are used by Gtk1.
On my old Mandrake I once had found a way, to activate AA only for large fonts.
must find out again, how that works.
Mark
|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Sat 17 Dec 2005, 01:52 Post subject:
|
|
i recompiled gdkxft and it produced a gtkrc file. I merged the contents of this with my gtk theme. However qtcurve does this by itself no need to edit the gtkrc. I will upload these files later.
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 17 Dec 2005, 02:18 Post subject:
|
|
Quote: | I once had found a way, to activate AA only for large fonts |
/usr/X11R6/lib/X11/XftConfig
match
any size < 14
edit
antialias = false;
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Sat 17 Dec 2005, 02:28 Post subject:
|
|
Guest, no, this is for xft1 only, but puppy uses xft2 I think?
I get no effects on gtk2 and Mozilla.
|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Sat 17 Dec 2005, 03:47 Post subject:
|
|
Code: | # This file created by gdkxft_sysinstall.
# A simple theme that uses anti-aliased fonts with many gtk widgets.
style "lil-tt"
{
font="-b&h-lucidux mono-medium-r-normal-*-12-*-*-*-m-*-iso8859-1"
}
style "lil-noaa"
{
font="-adobe-times-medium-r-normal-*-14-*-*-*-p-*-iso8859-1"
}
style "lil-serif"
{
font="-urw-times-medium-r-normal-*-14-*-*-*-p-*-iso8859-1"
}
style "lil-sans"
{
font="-urw-helvetica-medium-r-normal-*-13-*-*-*-p-*-iso8859-1"
}
style "big-sans"
{
font="-urw-helvetica-medium-r-normal-*-15-*-*-*-p-*-iso8859-1"
}
style "llil-sans"
{
font="-urw-helvetica-medium-r-normal-*-10-*-*-*-p-*-iso8859-1"
}
widget_class "*" style "lil-noaa"
widget_class "*Entry*" style "lil-serif"
widget_class "*Label*" style "lil-sans"
widget_class "*Button*" style "lil-sans"
widget_class "*Menu*" style "lil-sans"
widget_class "*MenuBar*" style "big-sans"
widget_class "*Toolbar*" style "lil-sans"
widget_class "*Frame" style "llil-sans"
|
gtkrc created by gdkxft recompile. edit it to your liking. I have edited it to use one font for all bitstream vera. details on how to get bitstream vera in x are available here http://www.murga.org/~puppy/viewtopic.php?t=4671&highlight=. you will also have to recompile gdkxft. I dont know waht all files have been changed by it, so I have not been able to make a dotpup out of it.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Sat 17 Dec 2005, 05:21 Post subject:
|
|
ok, thanks.
I found a setting now, that is ok for me.
In Mozilla I chose Bitstream Vera, and I installed your freetype.pup.
Then I deleted all files in /etc/fonts.
I did this just for testing, and was quite astonished then that it looks good
http://dotpups.de/pics/puppy/fonts.jpg
This throws an errormessage when starting leafpad from a console:
Fontconfig error: Cannot load default config file
But leafpad starts without problems
Mark
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8529 Location: Perth, Western Australia
|
Posted: Sat 17 Dec 2005, 05:54 Post subject:
|
|
MU wrote: | Guest, no, this is for xft1 only, but puppy uses xft2 I think?
I get no effects on gtk2 and Mozilla. |
Yes, xft2.
You have to edit /etc/fonts/local.conf.
Put something like this in it:
Code: | <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<match target="font">
<test name="size" compare="less">
<double>11</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="pixelsize" compare="less" qual="any">
<double>11</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
</fontconfig>
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sat 17 Dec 2005, 06:53 Post subject:
a note to the moderators... |
|
I think maybe the last few messages should be moved into a thread of their own with an appropriate title. This info could be useful to people who might not look in the Misc part of the forum (especially in this thread...).
It's a shame to have useful discussions buried in irrelevant threads.
|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Sat 17 Dec 2005, 08:29 Post subject:
|
|
Yes I agree, This is a request to the admin to cut the the last few post irrelevant to the topic and move them to new topic 'freetype, xft & gdkxft tweaks for better fonts'.
|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Sat 17 Dec 2005, 10:50 Post subject:
|
|
black firefox wallpaper + idesk + gentoo icons + blue night theme for fluxbox
qtcurve gtk theme for gtk1 and gtk2 apps. nice contrast of black and silver.
|
Back to top
|
|
 |
Pizzasgood

Joined: 04 May 2005 Posts: 6266 Location: Knoxville, TN, USA
|
Posted: Sat 17 Dec 2005, 11:26 Post subject:
|
|
Purdy...
_________________ Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Sat 17 Dec 2005, 15:09 Post subject:
|
|
Purdy, slang for pretty referring to a person or just referring to the word "pretty"
|
Back to top
|
|
 |
Pizzasgood

Joined: 04 May 2005 Posts: 6266 Location: Knoxville, TN, USA
|
Posted: Sat 17 Dec 2005, 16:08 Post subject:
|
|
I enjoy utilizing an massively extensive vocabulary and stuff.
_________________ Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

|
Back to top
|
|
 |
bombayrockers

Joined: 24 Sep 2005 Posts: 427 Location: Mumbai, India
|
Posted: Mon 19 Dec 2005, 02:26 Post subject:
|
|
A geeky looking desktop using xrootconsole from debian packages. Log on the top right is the x server log from /tmp/xerrs.txt and log on the bottom right is the kernel log from /var/log/messages.
|
Back to top
|
|
 |
|