[mythtv-users] Subtitle settings?

Stefan D raptorjr08 at gmail.com
Mon May 4 21:01:02 UTC 2015


Thank you for your help, but I am feeling really stupid. I can't get
anything to work.

Since i don't know what font to use that have the Swedish characters I
thought I should first get my semi transparent background.

Found an exampel from another theme that first did this:
<shape name="grey_background" from="provider">
          <type>box</type>
          <fill color="#000000" alpha="128" />
</shape>

Using mythfrontend -v vbi:debug I found out this:
The file used is  Location:
/home/stefan/.mythtv/themes/Mythbuntu/osd_subtitle.xml
And the subtitle type used is:
GetFont(family=teletext, prefix=teletext, orig pixelSize=20, new
pixelSize=20 zoom=100) = face=Liberation Sans pixelsize=20 color=#ffffff
italics=0 weight=50 underline=0 shadow=0 shadowoffset=(0,0)
shadowcolor=#000000 shadowalpha=255 outline=0 outlinecolor=#000000
outlinesize=0 outlinealpha=255


I managed to change the font, even though the Swedish characters don't
show, but it was more of a test to see that something happened. But back to
my semi transparent background. I now have this in my osd_subtitle.xml file:
<shape   name="teletext" from="grey_background" />
<fontdef name="teletext" face="Liberation Sans" from="provider">
</fontdef>

As I understand it, I should now have the "grey" background. But it is
still all black. So I must do something wrong, but what?

And i restart the frontend after every change to the file.


On Wed, Apr 29, 2015 at 6:30 AM, Jim Stichnoth <stichnot at gmail.com> wrote:

> On Tue, Apr 28, 2015 at 12:55 PM, Stefan D <raptorjr08 at gmail.com> wrote:
>
>> I haven't checked yet, but is there a debug setting that shows me what
>> kind of subtitle that is used? So i know which one to change?
>>
>> Run "mythfrontend -v vbi:debug" and look for lines of log output like
> this:
>
> GetFont(family=708, prefix=708_3, orig pixelSize=48, new pixelSize=48
> zoom=100) = face=Droid Sans Mono pixelsize=48 color=#ffffff italics=0
> weight=50 underline=0 shadow=0 shadowoffset=(2,2) shadowcolor=#000000
> shadowalpha=255 outline=0 outlinecolor=#000000 outlinesize=0
> outlinealpha=255
>
> The key info in this example is that it is driven by the 708_3 entry, and
> that it chose the Droid Sans Mono font.
>
> Jim
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150504/57036721/attachment.html>


More information about the mythtv-users mailing list