how to use kdialog --font ?

ianseeks ianseeks at yahoo.co.uk
Tue Oct 27 08:05:49 GMT 2015


On Monday 26 Oct 2015 20:31:48 J. Leslie Turriff wrote:
> 	I want to use kdialog to display a table of values, and to make the 
output
> columns line up, the simplest way is to display the data with a monospace
> font, e.g. DejaVu Sans Mono.  kdialog --help-qt shows option -fn <name>
> or --font <name>, but does not describe the format of the <name> string.
> 
> 	For testing, I've tried all of the following, but none seem to do 
anything:
> 
> 	kdialog --font 'DejaVu Sans Mono' --msgbox 'Does this use the right 
font?'
> 	kdialog --font 'dejavu sans mono' --msgbox 'Does this use the right 
font?'
> 	kdialog --font '-*-dejavu sans mono-medium-r' --msgbox 'Does this use 
the
> right font?'
> (This last after using xfontsel to see the X definition, just in case.)
> 
> 	I've searched the web for documentation and hints, and come up empty.  
I've
> looked at the QT class documentation, but those are c++ calls, so don't
> tell anything about kdialog.
> 
> 	Does anyone out there know how the --font string should be formatted?
> 
> Leslie

I've just done a "kdialog ?" and there is no reference to a "--font" and thats 
using this version 
Qt: 4.8.7
KDE Development Platform: 4.14.12
KDialog: 1.0

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list