<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, May 9, 2015 at 6:03 AM, Jim Stichnoth <span dir="ltr"><<a href="mailto:stichnot@gmail.com" target="_blank">stichnot@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>On Sat, May 9, 2015 at 1:57 AM, Stefan D <span dir="ltr"><<a href="mailto:raptorjr08@gmail.com" target="_blank">raptorjr08@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, May 8, 2015 at 7:14 PM, Jim Stichnoth <span dir="ltr"><<a href="mailto:stichnot@gmail.com" target="_blank">stichnot@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Thu, May 7, 2015 at 12:57 PM, Stefan D <span dir="ltr"><<a href="mailto:raptorjr08@gmail.com" target="_blank">raptorjr08@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div><div class="gmail_quote"><span style="color:rgb(34,34,34)">Good to know that encoding has nothing to do with it, then it is only that the font should contain the characters.</span></div></div></div></div></div></blockquote><div><br></div></span><div>Following up on my previous message.  I was watching a show last night, in the U.S., using cc708 captions (or it could have been cc608 captions, as it's often hard to tell them apart visually).  Two words with special characters showed up:  (bonus points for figuring out what show I was watching :)  )</div><div>  DéTENTE</div><div>  FIANCéE</div><div>but the "é" character was drawn as some crazy other character.  I don't remember seeing a consistent error like that in years.  Since I just upgraded my systems to Qt5 a few weeks ago, I'm guessing that some Qt default has changed, and it may affect the Swedish teletext as well.  I'll look into this more over the weekend.</div><span><font color="#888888"><div><br></div><div>Jim</div></font></span></div></div></div>
<br></div></div><span>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
<br></span></blockquote></div><br><div><div>I don't know how to cut a file and preserve all the internal 
content so i made a little larger file and sharing it on dropbox for a 
while.<br><br><a href="https://www.dropbox.com/s/e5ygfsar697nkwx/Swedish_subtitle_test.ts?dl=0" target="_blank">https://www.dropbox.com/s/e5ygfsar697nkwx/Swedish_subtitle_test.ts?dl=0</a><br><br></div>Let me know if it is enough or if a new is needed.<span><font color="#888888"><br><br></font></span></div></div></div></blockquote></div></div><div>Perfect.</div><div><br></div><div>It turns out I had a sample with German teletext that showed the same problem, and the fix also seems to fix your Swedish sample.  The cc608 problem I mentioned with DéTENTE and FIANCéE is similar.  I think Qt5 may be less forgiving about constructing a QChar from a non-ASCII C char, so:</div><div>  QChar c = 'é';</div><div>needs to be changed to:</div><div><div>  QChar c = QLatin1Char('é');</div></div><div>Hopefully cc608 and teletext are the only places that need this attention, but it's really hard to know for sure.  In any case, I'll push the fix to master soon.</div></div></div></div></blockquote><div><br></div><div>The fix is now live in master.  Thanks for pushing on this, as you found a Qt5 issue that would have hit others as well.</div><div><br></div><div>As a special thank you :), I also made a change so you can control background transparency on teletext subtitles, e.g.:</div><div>  <shape   name="teletext" from="provider"></div><div>    <fill color="#000000" alpha="128" /></div><div>  </shape></div><div><br></div><div>The "color" spec is ignored, but the XML parser requires it.  For teletext subtitles (but not the rest), you still need to restart mythfrontend for osd_subtitle.xml changes to take effect.</div><div><br></div><div>Jim </div></div></div></div>