Re: Mad font behaviour in Konqueror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DaniÃl Mantione wrote:
James Richard Tyrer wrote


DaniÃl Mantione wrote:

How can I tell Konq to use the 12pts font?

Support for bit mapped fonts is not really maintained well anymore.


Weird. Do you think it is a bug?

What you describe in your original question might be a bug and you can report it.

The fact that XFontSel will display the 12 point font is only partially relevant. It indicates that the font exists. However, KDE/Qt now uses FontConfig and (despite what the documentation says) FontConfig only uses PixelSize for bit mapped fonts, and ultimately, you need to specify a screen font in pixels.

The bitmapped Helvetica that comes with X has these PixelSizes:

	10, 12, 14 16, 18, 20, 21, 27, & 35

So, if KDE doesn't ask for one of these PixelSizes it isn't going to work.

And, it might be that this need to convert to PixelSize is where the problem is. Unfortunately, it is also possible that this is a Qt bug.

It is also possible that your choice of DPI for X might be part of the problem. The fonts that come with X are for 75 and 100 DPI so if your are using an other setting this might be a problem.

You can check to see if FontConfig can find a font with (for example):

	fc-list helvetica:pixelsize=16

(There is currently no GUI like XFontSel.)

which would be about 12 pt. at 100 DPI.  PixelSize = (PointSize/72)*DPI

--
JRT
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux