summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2010-12-08 02:59:33 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2010-12-08 02:59:33 (GMT)
commitee57332927393d071d7b3f1788476f07c77f7e82 (patch)
treeab2c3d32277626025571d80f3cd521e06a91e276
parent3e9463e2f5833edeead0a96011725526c1d8391d (diff)
Backport b674e521028d49193c7d from HEAD to branch fixes/0.24
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