[mythtv] OSD RTL languages patch
Ahmed Toulan
thelinuxer at gmail.com
Mon Nov 19 17:08:43 UTC 2007
Here is the new patch attached. It should meet your expectations.
This one will also test for fribidi version 0.22 and will compile if
it exists with supporting visual representation. If it doesn't exist,
it will ignore and compile without supporting it.
Best regards,
Ahmed Toulan.
On Nov 18, 2007 7:56 PM, Daniel Kristjansson <danielk at cuymedia.net> wrote:
>
> On Sun, 2007-11-18 at 19:40 +0200, Ahmed Toulan wrote:
> > Hi All,
> > I attached a patch to correct the viewing of OSD text for RTL
> > languages. It uses fribidi lib.
> >
> > This should work for Hebrew and Persian using the stable released
> > fribidi library, just make sure you choose a font that supports these
> > languages.
> >
> > Arabic language needs the fribidi2 module from cvs, so as to get
> > correct shaping and joining. The configure script still doesn't handle
> > this, but if there's a tendency to accept this, I will gladly fix it.
> >
> > I just wanted to get an early opinion about it.
> >
> > The patch is for mythtv.0.21
> >
> > This is part of the Heliocreek front port by OpenCraft company.
>
> The patch needs to be against head. There is limited RTL support for
> OSD text in head, it should be used when the fribidi2 library isn't
> available, and disabled when it is (see ConvertFromRtoL in OSDTypeText).
> Also, is DrawString the best place for this? I think it would make
> sense to do the conversion earlier when the text is set, DrawText()
> itself should run as quickly as possible.
>
> -- Daniel
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osd_rtl_support.patch
Type: text/x-patch
Size: 3482 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20071119/7376ef33/attachment.bin
More information about the mythtv-dev
mailing list