How to make a locale available for CTL text

Khaled Hosny khaledhosny at eglug.org
Fri May 4 22:46:46 UTC 2018


On Fri, May 04, 2018 at 11:33:49AM +0200, Eike Rathke wrote:
> Hi Khaled,
> 
> On Sunday, 2018-04-29 11:00:19 +0200, Khaled Hosny wrote:
> 
> > > Does it have to be [ms] and [ms-Arab] or could it be {[ms] or [zsm] or
> > > [zlm]} and {[zsm-Arab] or [zlm-Arab] (or maybe [ms-Arab])}?
> > 
> > I don’t really know. HarfBuzz expects a BCP 47 language tag, and I use
> > LanguageTag::getBcp47() to get that, so as long as it gives me “ms” all
> > good (the script part is redundant for me, because that is detected from
> > the text string and passed independently to HarfBuzz).
> 
> That should do then:
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=10a047ae8a6e5c47edc1ca11ed573f340b249f61

Works like a charm, thanks!

Regards,
Khaled


More information about the LibreOffice mailing list