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
comma at once for getting correct result). If you have control on number to
string conversion itself, it is better to ICU for this task, for example,
if you press (23.45).toLocaleString('fa') on Chrome or Firefox JavaScript
console, you will get ۲۳٫۴۵ which is provided by ICU for JavaScript.

On Mon, Sep 12, 2016 at 9:25 PM, Sascha Brawer <[email protected]> wrote:

> Which font are you using?
>
> — Sascha
>
> On Mon, Sep 12, 2016 at 6:09 PM, Eduardo Castiñeyra <
> [email protected]> 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.
>>
>> Thanks!
>>
>> _______________________________________________
>> HarfBuzz mailing list
>> [email protected]
>> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>
>
>
>
> --
> — Sascha
>
>
> _______________________________________________
> HarfBuzz mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to