Ticket #2547: visibility_improvements_for_text_subtitle_fonts.patch
File visibility_improvements_for_text_subtitle_fonts.patch, 1.5 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/osd.cpp
old new 352 352 353 353 QString name = "text_subtitles"; 354 354 355 356 355 // I couldn't get the space using the LineSpacing accurately 357 356 // (getting it through (SUBTITLE_LINE_SPACING - 1)*H resulted 358 357 // in too small space. Just hard code it, it should work as … … 369 368 TTFFont *font = GetFont(fontname); 370 369 if (!font) 371 370 { 372 font = LoadFont( gContext->GetSetting("OSDCCFont"), SUBTITLE_FONT_SIZE);371 font = LoadFont("FreeSans-Bold.ttf", SUBTITLE_FONT_SIZE); 373 372 374 373 if (font) 375 374 { 376 375 // set outline so we can see the font in white background video 377 376 font->setOutline(true); 377 font->setColor(Qt::black, kTTF_Outline); 378 font->setShadow(3,1); 378 379 fontMap[fontname] = font; 379 380 } 380 381 else -
themes/themes.pro
old new 12 12 themes.files = blue defaultosd blueosd oldosd default default-wide G.A.N.T. classic DVR 13 13 14 14 fonts.path = $${PREFIX}/share/mythtv 15 fonts.files = FreeSans.ttf Free Mono.ttf15 fonts.files = FreeSans.ttf FreeSans-Bold.ttf FreeMono.ttf 16 16 17 17 INSTALLS += themes fonts 18 18