Permalink
Browse files

Consistent text outlining for external text, embedded text and CC-608

captions.
  • Loading branch information...
1 parent c4a2979 commit b674e521028d49193c7d52fa749c556f423cd9f8 Mark Kendall committed Dec 8, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 mythtv/libs/libmythtv/subtitlescreen.cpp
@@ -314,7 +314,6 @@ void SubtitleScreen::DisplayTextSubtitles(void)
int height = (m_safeArea.height() * m_textFontZoom) / 1800;
gTextSubFont->GetFace()->setPixelSize(height);
gTextSubFont->SetColor(Qt::white);
- gTextSubFont->SetOutline(true, Qt::black, 2, 255);
}
}
else
@@ -394,7 +393,6 @@ void SubtitleScreen::DisplayRawTextSubtitles(void)
int height = (m_safeArea.height() * m_textFontZoom) / 1800;
gTextSubFont->GetFace()->setPixelSize(height);
gTextSubFont->SetColor(Qt::white);
- gTextSubFont->SetOutline(true, Qt::black, 2, 255);
}
}
else
@@ -927,6 +925,7 @@ bool SubtitleScreen::InitialiseFont(int fontStretch)
newfont.setStretch(fontStretch);
font.detach();
mythfont->SetFace(newfont);
+ mythfont->SetOutline(true, Qt::black, 2, 255);
gTextSubFont = mythfont;
}
else

0 comments on commit b674e52

Please sign in to comment.