Opened 14 years ago

Closed 14 years ago

#7895 closed patch (fixed)

Force OpenGL compatible fonts with OpenGL painter (win32)

Reported by: Jeff Lu <jll544@…> Owned by: stuartm
Priority: minor Milestone: 0.23
Component: MythTV - User Interface Library Version: head
Severity: medium Keywords: windows opengl
Cc: Ticket locked: no

Description

When using the OpenGL painter on win32, text looks hideous - apparently due to some interaction between the painter and Qt font anti-aliasing.

Attached patch fixes this problem by setting QFont::OpenGLCompatible when using the OpenGL painter. Doing this seems to have no ill effect on linux, but I added an #ifdef to be safe.

Attachments (1)

7895-opengl_font.patch (516 bytes) - added by Jeff Lu <jll544@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Jeff Lu <jll544@…>

Attachment: 7895-opengl_font.patch added

comment:1 Changed 14 years ago by Stuart Auchterlonie

Milestone: unknown0.23

comment:2 Changed 14 years ago by markk

Resolution: fixed
Status: newclosed

(In [23207]) Fix OpenGL fonts on windows with patch from Jeff Lu. Closes #7895.

As noted by Jeff, there is no apparent issue on linux so I've removed the ifdef.

Note: See TracTickets for help on using tickets.