Re: [Interest] Text rendering problem.

2015-07-23 Thread william.croc...@analog.com
On 07/21/2015 01:31 PM, william.croc...@analog.com wrote: > On 07/18/2015 08:02 PM, william.croc...@analog.com wrote: >> > > I am having a text rendering problem. What you can do in your example is scene_font.setHintingPreference(QFont::PreferNoHinting); > >

Re: [Interest] Text rendering problem.

2015-07-21 Thread william.croc...@analog.com
On 07/18/2015 08:02 PM, william.croc...@analog.com wrote: > I am having a text rendering problem. >>> From some googling, I think it's because the hinting values are >>> obtained when unscaled, and then used even when scaled. >>> >>> What you can do in your example is >>> >>>

Re: [Interest] Text rendering problem.

2015-07-18 Thread william.croc...@analog.com
>>> >>> I am having a text rendering problem. >> >>> From some googling, I think it's because the hinting values are >> obtained when unscaled, and then used even when scaled. >> >> What you can do in your example is >> >> scene_font.setHintingPreference(QFont::PreferNoHinting); >> > > Elvis

Re: [Interest] Text rendering problem.

2015-07-18 Thread william.croc...@analog.com
On 07/18/2015 06:34 AM, Elvis Stansvik wrote: > 2015-07-18 1:13 GMT+02:00 Bill Crocker: >> >> Hello: >> >> I am having a text rendering problem. >> > >> From some googling, I think it's because the hinting values are > obtained when unscaled, and then used even when scaled. > > What you can do in y

Re: [Interest] Text rendering problem.

2015-07-18 Thread Elvis Stansvik
2015-07-18 1:13 GMT+02:00 Bill Crocker : > > Hello: > > I am having a text rendering problem. > > The following code creates a QLabel and QGraphicsTextItem. > The QLabel text is 60 pt. The QGraphicsTextItem text size is 6 pt, > but then the view is scaled up by 10x. So, in the end both > pieces of

[Interest] Text rendering problem.

2015-07-17 Thread Bill Crocker
Hello: I am having a text rendering problem. The following code creates a QLabel and QGraphicsTextItem. The QLabel text is 60 pt. The QGraphicsTextItem text size is 6 pt, but then the view is scaled up by 10x. So, in the end both pieces of text are the same size on the screen. For me the QLabel