[Konsole-devel] [Bug 52538] console font displays double width

alan at chandlerfamily.org.uk alan at chandlerfamily.org.uk
Sat Jan 25 07:47:40 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=52538     




------- Additional Comments From alan at chandlerfamily.org.uk  2003-01-25 08:47 -------
Created an attachment (id=805)
 --> (http://bugs.kde.org/attachment.cgi?id=805&action=view)
Code snippet showing how to reproduce problem

This is NOT a problem with konsole, but rather JUST about how the FixedPitch
attribute of a font changes how it is displayed.  This code snippet is from a
very simple QDesigner Application that just uses a button click to toggle the
FixedPitch attribute of the default font being used to display in a QLineEdit.
When FixedPitch is set the display width of the text doubles.
Because KFontDialog with the second parameter set to TRUE returns a QFont with
this attribute set, and because Konsole uses the font that is returned, the
effect shown in the first attachment occurs.



More information about the konsole-devel mailing list