E2 tekstitys, toimiva muutos

Sivustoa
		sponsoroi SatShop.fi

Raitsa

Ylläpitäjä
Ylläpitäjä
Sijainti
Turku
Laitteisto
3 * Nvidia Shield + Synology NAS DS218+ LG 77CX6LA + Genelec + RasPi/rAudio + Adam T5V + T7V + T10S - ArcoLinux
E2 tekstitys, toimiva muutos

Here is a new patch for proper linebreaks on TTX subtitles. Tested and verified with CVS 20090705. Glad to say that subtitles, with this patch, now works as they should have done from the beginning.

Note to skin makers!
New required attribute "lineHeight" added to Subtitle_TTX <sub> element in skin.xml.
Enigma will most likely crash if lineHeight-attribute is not in the skin.
The lineHeight attribute should be set to something like 1,2 * font size, to make it look good. (Any less, and letters like g, j and y might get clipped.)

An example!
Wrong:
<sub name="Subtitle_TTX" font="Regular;30" shadowColor="#40101010" shadowOffset="3,3" />

Correct:
<sub name="Subtitle_TTX" font="Regular;30" shadowColor="#40101010" shadowOffset="3,3" lineHeight="36" />

As before, <SubtitleDisplay> should be fullscreen (size="720,576" for SD skins and size="1280,720" for HD skins and so on).

Changes in this patch:

* Adds line breaks to Teletext-subtitles
* Requires lineHeight-attribute on Subtitle_TTX <sub> element in skin.xml

Käykääpä vetoamassa DMM:lle, että siirtävät tämän muutoksen CVS-koodiin.
http://www.dream-multimedia-tv.de/board/index.php?page=Thread&postID=68457#post68457
 

Liitetiedostot

  • enigma2-ttx-subtitles-proper-linebreaks-1.0.txt
    8.5 KB · Lukukerrat: 29

timoj

Huoltovalikon jäsen
Sinun tulee rekisteröityä nähdäksesi muutakin kuin ensimmäisen viestin sisältö.
 

timoj

Huoltovalikon jäsen
Sinun tulee rekisteröityä nähdäksesi muutakin kuin ensimmäisen viestin sisältö.
 
Takaisin
Ylös