Any way of changing teletext font in MP. (1 Viewer)

JacobJust

MP Donator
  • Premium Supporter
  • September 23, 2006
    131
    46
    53
    Aarhus
    Home Country
    Denmark Denmark
    Hi All

    Are there any way of changing teletext font in MP.

    My font is "chipped" off the 20% in top of font.

    Settings in MP under teletext font does nothing (%size of font).

    Maybe if i could select other font it would help.

    (using TVserver with MP.)

    Regards
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Did you select the "autosize to skin" option in general settings? These are known to break TTX fonts.

    To change the font itself you'd have to compile MP locally.
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    Clarification

    Did you select the "autosize to skin" option in general settings? These are known to break TTX fonts.

    To change the font itself you'd have to compile MP locally.

    Does this mean with this option checked, you would have symptoms like JacobJust or the opposite. Thinking of adding it to the FAQ...
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    On my system the last time I could check the symptoms where vertically chopped off fonts.
    This was sizing to widescreen. I guess e.g. on a non-square-pixel plasma stretching horizontally will have the effect JacobJust has described.
     

    JacobJust

    MP Donator
  • Premium Supporter
  • September 23, 2006
    131
    46
    53
    Aarhus
    Home Country
    Denmark Denmark
    Hi ...

    No i did not check "autosize to skin" ...

    It seems that teletext is ok in menu, but broken fonts in teletext when in Full Screen only.

    Screen is 1360x768, Desktop is 1360x768 and skin is 1280x720.

    Any idea ...

    Regards
     

    johnlc

    Portal Pro
    April 19, 2008
    59
    3
    Horsens
    Home Country
    Denmark Denmark
    To change the font itself you'd have to compile MP locally.

    Rtv,
    It would be very nice if you could point to the place in the code, where to change the font for Teletext.
    I would have assumed it was taken from fonts.xml but that seems not to be the case.

    I have been looking for some time, but really cannot pin point the place. I am talking about "real" teletext page 100-600 not the font for teletext subtitles.

    I have no problem compiling locally.
     

    johnlc

    Portal Pro
    April 19, 2008
    59
    3
    Horsens
    Home Country
    Denmark Denmark
    Try "Mediaportal\TVCapture\teletext\TeletextPageRenderer.cs -> RenderPage()


    Thanks - exactly the code I was looking for.

    Now the thing is that you are treating the font as a fixed pitch (_fontwidth = _pageRenderWidth / 40 ), because you have to obey the 40 characters in teletext, so the reason why the teletext is so widely spaced is because of
    (int _pageRenderWidth = 1920 ) - hm.

    I will play around with the rectangle size, one of these days. Maybe different rectangels for 4/3 and 16/9 TV's is nessesary (I have never seen the Teletext on 4/3)

    Somehow I think I can remember something about getting the Width of each character in a proportional font - but I guess the rectangel will be easier to change.
     

    johnlc

    Portal Pro
    April 19, 2008
    59
    3
    Horsens
    Home Country
    Denmark Denmark
    Well, well it was not in Mediaportal but the TVClient plugin, so tried a font change and resized fullscreen teletext to "kind of" 4/3 on a 16/9 screen - it is a lot easier to read now.
     

    Users who are viewing this thread

    Top Bottom