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);
>
>
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
>>>
>>>
>>>
>>> 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
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
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