Skip to content

Commit

Permalink
Consistent text outlining for external text, embedded text and CC-608
Browse files Browse the repository at this point in the history
captions.
  • Loading branch information
Mark Kendall committed Dec 8, 2010
1 parent c4a2979 commit b674e52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythtv/subtitlescreen.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b674e52

Please sign in to comment.