summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2010-12-08 02:53:13 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2010-12-08 02:53:13 (GMT)
commitb674e521028d49193c7d52fa749c556f423cd9f8 (patch)
tree7788e0d8e86f55348e9f66edc5282a6724df56e4
parentc4a29793ebfb746c8187f8b39e8f723887d745f3 (diff)
Consistent text outlining for external text, embedded text and CC-608
captions.
-rw-r--r--mythtv/libs/libmythtv/subtitlescreen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mythtv/libs/libmythtv/subtitlescreen.cpp b/mythtv/libs/libmythtv/subtitlescreen.cpp
index ab3f247..bd56ff7 100644
--- a/mythtv/libs/libmythtv/subtitlescreen.cpp
+++ b/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