Re: [Interest] Qt and fixed width/pitch font

2012-08-13 Thread BRM
> From: Jan Kundrát > To: interest@qt-project.org > Cc: > Sent: Monday, August 13, 2012 3:49 PM > Subject: Re: [Interest] Qt and fixed width/pitch font > > On 08/01/12 17:55, Carl Schumann wrote: >> So I tried QFont::setFixedPitch(true). > > The following work

Re: [Interest] Qt and fixed width/pitch font

2012-08-13 Thread Jan Kundrát
On 08/01/12 17:55, Carl Schumann wrote: > So I tried QFont::setFixedPitch(true). The following works for me: // Ask for a fixed-width font. The problem is that these names wary across platforms, // but the following works well -- at first, we come up with a made-up name, and then // let the Qt

Re: [Interest] Qt and fixed width/pitch font

2012-08-01 Thread Karl Ruetz
To get a truly fixed width/pitch font, you have to use a font that is designed to be such (monospaced), such as Courier, otherwise the results can look pretty nasty. Karl On 2012-08-01 09:55, Carl Schumann wrote: > Hi, > > Qt community I am developing a spreadsheet like program. As such I >

Re: [Interest] Qt and fixed width/pitch font

2012-08-01 Thread Atlant Schmidt
paced") operation. If you don't, your application will look *UGLY*. Atlant -Original Message- From: interest-bounces+aschmidt=dekaresearch@qt-project.org [mailto:interest-bounces+aschmidt=dekaresearch@qt-project.org] On Behalf Of Carl Schumann Sent: Wednesday, August 01,

[Interest] Qt and fixed width/pitch font

2012-08-01 Thread Carl Schumann
Hi, Qt community I am developing a spreadsheet like program. As such I would like to have numeric values line up, i.e., units digit, etc. form a column. That would seem to require a fixed width/pitch font. So I tried QFont::setFixedPitch(true). This did not result in a fixed pitch font