[HarfBuzz] Fwd: hindi problem

Varun Talwar tallytalwar at gmail.com
Wed Dec 6 18:24:44 UTC 2017


@Jani

Just a side note on fontstash-es <https://github.com/tangrams/fontstash-es>,
we have not updated it for a while now. However we have been using
https://github.com/hjanetzek/alfons project as a replacement for
fontstash-es, in our map renderer (https://github.com/tangrams/tangram-es).

Varun Talwar
Senior Graphics Engineer, Mapzen
Master's of Sciences (Computer Graphics and Game Technology)
University of Pennsylvania
Mailto: tallytalwar at gmail.com

On Wed, Dec 6, 2017 at 4:02 AM, Jani Brezavšček <jani.brezavscek at outfit7.com
> wrote:

> Thank you very much! I never would have expected that this was ok.
>
> Best regards,
> Jani Brezavšček
>
>
>
>
>
>
> <http://www.outfit7.com/>
>
> JANI BREZAVŠČEK
>
> SENIOR SOFTWARE ENGINEER
>
> www.outfit7.com
>
> Ekipa2 d.o.o. | Ameriška ulica 8
> 1000 Ljubljana, SI
> <http://outfit7.com/>
>
>
> On Wed, Dec 6, 2017 at 11:20 AM, Jonathan Kew <jfkthame at gmail.com> wrote:
>
>> On 06/12/2017 09:34, Jani Brezavšček wrote:
>>
>>> Hello,
>>>
>>> I'm writing because I can't find a solution to my problem.. I would like
>>> to display the following hindi text as it is written bellow or e.g. in
>>> google search bar
>>>
>>> शक्ति (I put it in google translate and it looks like it means "power"
>>> in hindi)
>>>
>>> with the line above the characters (starting at second one) going above
>>> from the second character to the last one. But what I get after using
>>> harfbuzz is not the same... the last two characters get merged into one and
>>> it does not look like what I pasted
>>>
>>> I've checked it with Sanskrit2003.ttf and NotoSansDevanagari-Medium.ttf
>>> they both produce the same abomination
>>>
>>> Can anyone please help me understand if this is a bug in harfbuzz or if
>>> I am doing something wrong?
>>>
>>>
>> I guess you're confused by the rendering of the combination "क्त" (ka,
>> virama, ta). This pair of consonants ("kt") can be written either with a
>> half-ka followed by ta, or as a single conjunct glyph. Which is used is a
>> stylistic choice the font designer will have made.
>>
>> Most fonts I've seen go for the single-glyph "kt" conjunct, although the
>> Mangal and Nirmala UI fonts from Windows choose the longer "half-ka + ta"
>> rendering, so if that's what you're comparing to, you may be surprised by
>> the conjunct in other fonts.
>>
>> See http://press-files.anu.edu.au/downloads/press/p276561/html/s
>> ection67.html (scroll down to section 7, "Some forms are completely
>> different...", and note the two examples of the "kt" combination).
>>
>> In short: how it looks depends on the font you choose.
>>
>> JK
>>
>>
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20171206/e67caddc/attachment.html>


More information about the HarfBuzz mailing list