[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Retrieving the default fixed width font?
From:       Maurizio Colucci <seguso.forever () tin ! it>
Date:       2004-09-29 8:07:22
Message-ID: 415A6D3A.2060508 () tin ! it
[Download RAW message or body]

Hello,

I would like to create a KTextEdit with the default KDE fixed-width 
font, as specified in kcontrol. Here's what I am doing

font = QFont()
font.setStyleHint( QFont.TypeWriter, QFont.PreferAntialias)
font_string = font.defaultFamily()
commandEntry.setFamily(font_string)

Unfortunately, this sets Courier instead of bitstream vera mono, which 
is specified in kcontrol.

What can I do?

Thank you

Mau
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic