HOWTO: Improve Font Rendering in LMDE
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Re: HOWTO: Improve Font Rendering in LMDE
Does this affect Open Office as well? I could deal with Firefox and other applications using the ~/.fonts.conf I posted in another thread, but Open Office refused to comply. Only changes in the Appearance dialog had any affect on Open Office for me, and there's not enough granular control with that.
Re: HOWTO: Improve Font Rendering in LMDE
Just copied a sample out off my ooo. I'm happy with that. Font is Times New Roman/12pt.
LöY RSC @ ¹²³¼½ kloü ß LÖÄ sdh09765
LöY RSC @ ¹²³¼½ kloü ß LÖÄ sdh09765
Re: HOWTO: Improve Font Rendering in LMDE
Good show, I will have to try this out for sure. I could not type up a lengthy document with the font rendering Open Office was giving me. It was truly appalling.ikey wrote:The gconftool calls in the script do what the Appearance dialog would be doing.
I tried mixing this approach with ~/.fonts.conf.. but the fonts ended up spaced
out and distorted with really bad colour-bleeding on thin fonts
Re: HOWTO: Improve Font Rendering in LMDE
I tried the script but I have the same problem as some other posted: I can't open the appearances menu. The error is the following:
When I used the fix (gconftool-2 --unset "/desktop/gnome/font_rendering/dpi") the appearances menu worked but I had really huge fonts).
Any advices?
Code: Select all
/usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
The program 'gnome-appearance-properties' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 594 error_code 11 request_code 53 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Any advices?
Re: HOWTO: Improve Font Rendering in LMDE
Did you run the fix for this that Ikey posted along with the script (first post on this thread)? If you missed it, here it is. Just run it in terminal:pappfer wrote:I tried the script but I have the same problem as some other posted: I can't open the appearances menu. The error is the following:When I used the fix (gconftool-2 --unset "/desktop/gnome/font_rendering/dpi") the appearances menu worked but I had really huge fonts).Code: Select all
/usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored. /usr/share/themes/Shiki-Wise/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored. The program 'gnome-appearance-properties' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 594 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Any advices?
Code: Select all
gconftool-2 --unset "/desktop/gnome/font_rendering/dpi
BTW, the first two lines of error code you posted occurs every time I update anything that even remotely involves gradients, Murrine, GTK2 and Shikiwise including doing the initial updating on a fresh LMDE load so I don't believe those first two lines matter at all.
Last edited by kmb42vt on Fri Sep 24, 2010 10:46 am, edited 1 time in total.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Re: HOWTO: Improve Font Rendering in LMDE
Yes, as you can read it in the end of my post I also tried that and it fixed the problem, although it made the fonts huge.
Re: HOWTO: Improve Font Rendering in LMDE
Oops, sorry about that. My eyes must have been crossed or something.pappfer wrote:Yes, as you can read it in the end of my post I also tried that and it fixed the problem, although it made the fonts huge.
![Embarassed :oops:](./images/smilies/icon_redface.gif)
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Re: HOWTO: Improve Font Rendering in LMDE
Everything is 10px but the DPI was set to 128. I changed it to 96 and it all looks fine now. Thanks! ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
Re: HOWTO: Improve Font Rendering in LMDE
No problem at all. Here's to redundancy checks.pappfer wrote:Everything is 10px but the DPI was set to 128. I changed it to 96 and it all looks fine now. Thanks!
![Very Happy :D](./images/smilies/icon_biggrin.gif)
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Re: HOWTO: Improve Font Rendering in LMDE
hello,
When I tried to execute the script fixfonts.sh with "./fixfonts.sh", it gave me a series of errors:
"rule 14-31: command not found ("opdracht niet gevonden")
When I tried to execute the script fixfonts.sh with "./fixfonts.sh", it gave me a series of errors:
"rule 14-31: command not found ("opdracht niet gevonden")
Anyone who knows what could be the problem?./fixfonts.sh: regel 14: --set: opdracht niet gevonden
./fixfonts.sh: regel 15: --set: opdracht niet gevonden
./fixfonts.sh: regel 17: --set: opdracht niet gevonden
./fixfonts.sh: regel 18: --set: opdracht niet gevonden
Setting default fonts..
./fixfonts.sh: regel 28: --set: opdracht niet gevonden
./fixfonts.sh: regel 29: --set: opdracht niet gevonden
./fixfonts.sh: regel 30: --set: opdracht niet gevonden
./fixfonts.sh: regel 31: --set: opdracht niet gevonden
Re: HOWTO: Improve Font Rendering in LMDE
Did you run "chmod +x ./fixfonts.sh" first?
Re: HOWTO: Improve Font Rendering in LMDE
I have a script "fixfonts.sh" in my home directory.
In a terminal, I entered the 2 commands in Ikey's first post:
* chmod +x ./fixfonts.sh
* ./fixfonts.sh
The first command did nothing, the second gave me the errors "rule xxx: command not found".
So I think I followed instructions, but no result.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
In a terminal, I entered the 2 commands in Ikey's first post:
* chmod +x ./fixfonts.sh
* ./fixfonts.sh
The first command did nothing, the second gave me the errors "rule xxx: command not found".
So I think I followed instructions, but no result.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Re: HOWTO: Improve Font Rendering in LMDE
Nevermind ....
I copied Ikey's script again in a new file, executed the commands and everything is working now.
My fault, obviously![Embarassed :oops:](./images/smilies/icon_redface.gif)
I copied Ikey's script again in a new file, executed the commands and everything is working now.
My fault, obviously
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Re: HOWTO: Improve Font Rendering in LMDE
No need to use a script to fix fonts.
Enable Smooth Fonts in Debian. - Linux Forums
http://www.linuxforums.org/forum/debian ... ebian.html
Enable Smooth Fonts in Debian. - Linux Forums
http://www.linuxforums.org/forum/debian ... ebian.html
Re: HOWTO: Improve Font Rendering in LMDE
great, but it would be even greater if someone who knows would add the improvement for KDE fonts too. It would be awesome to have one script that makes fonts in all DE look the same.
Re: HOWTO: Improve Font Rendering in LMDE
The appearance control panel is broken. The settings don't take (at least for me. Maybe it needs to run as root). Every time I go into to it, the buttons show a "-" instead of a ".". Hence the need for this script and/or the .fonts.config file in your home folder.anamnesis wrote:Beautiful or at least very satisfying fonts here: LCD 1440x900@60hz
Appearance -> fonts -> details -> lcd subpixel "slight" /Resolution 96dpi. That it. No scripts, no screwing.
hth
anamnesis
Re: HOWTO: Improve Font Rendering in LMDE
This is normal, but rather unintuitive behaviour. Any time the settings in the Appearance->Fonts->Details dialog are altered so that they do not equal any of the presets on the Appearance->Fonts dialog, those presets have the hyphen in the place of a normal radio button. There's no real indication that this is what is meant to happen though, and having them all show this icon doesn't really tell the user any meaningful information.mfdemicco wrote:The appearance control panel is broken. The settings don't take (at least for me. Maybe it needs to run as root). Every time I go into to it, the buttons show a "-" instead of a ".".
Re: HOWTO: Improve Font Rendering in LMDE
I don't seem to be needing this now. Maybe I have some leftover configuration from Lucid but I wiped that and installed LMDE and the fonts look far better than they ever did before, if not the same as on Lucid. Running the script doesn't make any difference now, except for enabling subpixel rendering, but I changed it so that it uses greyscale instead. Windows does subpixel rendering pretty good, but colour fringing has always been a noticeable issue for me in Linux.
Re: HOWTO: Improve Font Rendering in LMDE
"If you look at what the script does, it sets the resolution to 96dpi and sets LCD to slight already."
funny enough, I did a clean install of LMDE and applied all updates - and the settings above were already active, and my fonts look good as they should.
funny enough, I did a clean install of LMDE and applied all updates - and the settings above were already active, and my fonts look good as they should.