Re: [HarfBuzz] persian numerals

2016-09-13 Thread Ebrahim Byagowi
hb doesn't support that (at least AFAIK) but you can use some custom and edited font that language tag would have such effect on text. > [...] some softwares would not recognize ۲۳٫۴۵ as a number I think this post

Re: [HarfBuzz] persian numerals

2016-09-13 Thread Eduardo Castiñeyra
Hi Ebrahim, My problem is not how to change the numerals but when. For instance LibreOffice seems to be based on the context whereas MS Word detects the selected keyboard layout and takes that as the locale. Given that I'm using the "hb_language_from_script"feature I was wondering whether

Re: [HarfBuzz] persian numerals

2016-09-12 Thread Nikolay Sivov
On 12.09.2016 19:09, Eduardo Castiñeyra wrote: > Hi, > > Can hb be configured to automatically replace the numerals according to > the language of the paragraph ? > > I'm not sure how to address this. I can tell that at least with Windows shaping engines this is a matter of additional

Re: [HarfBuzz] persian numerals

2016-09-12 Thread Ebrahim Byagowi
You should resolve this on a level upper than hb as this is not just about digits, but thousand and fraction separator also should be replaced with their counterpart signs on different languages which sometimes needs some context aware replaces (and on some locales, you should switch dot with

[HarfBuzz] persian numerals

2016-09-12 Thread Eduardo Castiñeyra
Hi, Can hb be configured to automatically replace the numerals according to the language of the paragraph ? I'm not sure how to address this. Thanks! ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org