Ticket #7895: 7895-opengl_font.patch

File 7895-opengl_font.patch, 516 bytes (added by Jeff Lu <jll544@…>, 10 years ago)
  • libs/libmythui/mythpainter_ogl.cpp

     
    393393    pm.fill(fillcolor.rgba());
    394394
    395395    QPainter tmp(&pm);
    396     tmp.setFont(font.face());
     396    QFont tmpfont = font.face();
     397#ifdef USING_MINGW
     398    tmpfont.setStyleStrategy(QFont::OpenGLCompatible);
     399#endif
     400    tmp.setFont(tmpfont);
    397401
    398402    if (font.hasShadow())
    399403    {