You are not logged in.

1

Sunday, March 13th 2005, 6:01pm

konqueror ignores settings in ~/.fonts.conf

To get websites rendered with scalable fonts even if they set the font-family style to, say, Helvetica I have added the following to my ~/.fonts.conf:

Source code

1
2
3
4
5
6
7
8
	<match target="pattern">
	        <test name="family">
	                <string>Helvetica</string>
	        </test>
	        <edit name="family" mode="prepend" binding="same">
	                <string>Bitstream Vera Sans</string>
	        </edit>
	</match>

This woks fine with firefox - i. e. Bitstream Vera Sans is used instead of Helvetica for rendering text on such pages. konqueror on the other hand ignores this setting and still uses the bitmap Helvetica font.
How can I persuade konqueror to behave like firefox?

I'm using kde 3.3.2 and xorg 6.8.2.

Regards
mks

This post has been edited 1 times, last edit by "mks99" (Mar 13th 2005, 6:02pm)


2

Sunday, October 16th 2005, 5:56pm

RE: konqueror ignores settings in ~/.fonts.conf

Does you have found a solution?
I have the same problem. Konqueror can't display some characters on websites with helvetica fonts. If i remove the helvetica fonts than konqueror uses the Bitstream Vera Sans fonts and everything works well. But i have to keep the helvetica fonts for my emacs :( So just removing the fonts is no solution.
But how could i tell konqueror/kde to don't use the helvetica fonts?

3

Sunday, October 16th 2005, 9:44pm

RE: konqueror ignores settings in ~/.fonts.conf

Quoted

Originally posted by tommy
Does you have found a solution?
I have the same problem. Konqueror can't display some characters on websites with helvetica fonts. If i remove the helvetica fonts than konqueror uses the Bitstream Vera Sans fonts and everything works well. But i have to keep the helvetica fonts for my emacs :( So just removing the fonts is no solution.
But how could i tell konqueror/kde to don't use the helvetica fonts?

No, I haven't found a solution. And - AFAICT - there is none.
As you have obviously found out, you can use qtconfig to configure font replacements and that, alas, these become active only when the to-be-replaced font isn't found by the system.
This is one of the main reasons why I don't use konqueror but firefox. gtk applications respect the settings in fonts.conf, qt applications don't.
Maybe some future version of qt will be able to handle such a simple thing - I really want to be able to decide which fonts my applications are to use.

Regards
mks