<div dir="ltr">Thank you Varun, I've seen it and then used harfbuzz-example for my test purposes also because fontstash-es kept on crashing (glfw example) or showed just squares instead of font (ios example). I've just checked fontstash-es first because I already worked with fontstash. The harfbuzz-example is working great!<div><br></div><div>By the way, are all the "corrections" written somewhere like in some documentation or does it all depend on the font? </div><div><br></div><div>Also if I can't figure out the correction of the russian text in the harfbuzz-example. Is there anything different at all?</div><div><br></div><div>Thank you,</div><div>Best regards,</div><div>Jani</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><br style="color:rgb(0,0,0);font-family:-webkit-standard"><br style="color:rgb(0,0,0);font-family:-webkit-standard"><table cellspacing="0" cellpadding="0" width="583" style="color:rgb(0,0,0);font-family:Helvetica,sans-serif"><tbody><tr><td valign="top" width="238"><table cellspacing="0" cellpadding="0" width="238" height="175" style="font-family:Helvetica,sans-serif"><tbody><tr><td height="78"><a href="http://www.outfit7.com/" style="text-decoration:none;border:0px" target="_blank"><img width="234" height="78" src="http://cdn.outfit7.com/email/logo_new.png" style="border:0px"></a></td></tr><tr><td valign="top"><p style="margin:3px 0px 0px 20px;padding:0px 3px;font-weight:bold;font-size:14px;line-height:14px;color:rgb(119,119,119)">JANI BREZAVŠČEK</p><p style="margin:0px 0px 5px 20px;padding:3px;font-size:10px;line-height:12px;color:rgb(119,119,119)">SENIOR SOFTWARE ENGINEER</p><p style="margin:0px 0px 0px 20px;padding:0px;font-size:10px;line-height:12px;color:rgb(119,119,119)"></p><p style="margin:0px 0px 0px 20px;padding:0px 3px;font-size:10px;line-height:12px;color:rgb(119,119,119)"><a href="http://www.outfit7.com/" style="color:rgb(119,119,119)" target="_blank">www.outfit7.com</a></p><p style="margin:0px 0px 0px 20px;padding:11px 3px 0px;font-size:9px;line-height:9px;color:rgb(119,119,119)">Ekipa2 d.o.o. | Ameriška ulica 8 <br>1000 Ljubljana, SI</p></td></tr></tbody></table></td><td height="200" width="332" style="min-width:332px"><a href="http://outfit7.com/" style="text-decoration:none;border:0px" target="_blank"><img width="332" height="200" src="http://cdn.outfit7.com/email/email_signature_6billion_final.png" style="border:0px"></a><br><br></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 6, 2017 at 8:31 PM, Varun Talwar <span dir="ltr"><<a href="mailto:tallytalwar@gmail.com" target="_blank">tallytalwar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">@Jani<br><br>Re. fontstash-es: You can also directly use <a href="https://github.com/tangrams/harfbuzz-example" target="_blank">https://github.com/tangrams/<wbr>harfbuzz-example</a> for your test purposes.<br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-6019821962046372704gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Varun Talwar<div>Senior Graphics Engineer, Mapzen</div><div><div>Master's of Sciences (Computer Graphics and Game Technology)</div><div>University of Pennsylvania<br>Mailto: <a href="mailto:tallytalwar@gmail.com" target="_blank">tallytalwar@gmail.com</a></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Wed, Dec 6, 2017 at 10:24 AM, Varun Talwar <span dir="ltr"><<a href="mailto:tallytalwar@gmail.com" target="_blank">tallytalwar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>@Jani<br><br></div>Just a side note on <a href="https://github.com/tangrams/fontstash-es" target="_blank">fontstash-es</a>, we have not updated it for a while now. However we have been using <a href="https://github.com/hjanetzek/alfons" target="_blank">https://github.com/hjanetzek/a<wbr>lfons</a> project as a replacement for fontstash-es, in our map renderer (<a href="https://github.com/tangrams/tangram-es" target="_blank">https://github.com/tangrams/t<wbr>angram-es</a>).<span class="m_-6019821962046372704HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="m_-6019821962046372704HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_-6019821962046372704m_-1194189656663906111gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Varun Talwar<div>Senior Graphics Engineer, Mapzen</div><div><div>Master's of Sciences (Computer Graphics and Game Technology)</div><div>University of Pennsylvania<br>Mailto: <a href="mailto:tallytalwar@gmail.com" target="_blank">tallytalwar@gmail.com</a></div></div></div></div></div>
<br></font></span><div class="gmail_quote"><div><div class="m_-6019821962046372704h5">On Wed, Dec 6, 2017 at 4:02 AM, Jani Brezavšček <span dir="ltr"><<a href="mailto:jani.brezavscek@outfit7.com" target="_blank">jani.brezavscek@outfit7.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6019821962046372704h5"><div dir="ltr">Thank you very much! I never would have expected that this was ok.<div><br></div><div>Best regards,</div><div>Jani Brezavšček<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-6019821962046372704m_-1194189656663906111m_-6819125677937022711gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><br style="color:rgb(0,0,0);font-family:-webkit-standard"><br style="color:rgb(0,0,0);font-family:-webkit-standard"><table style="color:rgb(0,0,0);font-family:Helvetica,sans-serif" width="583" cellspacing="0" cellpadding="0"><tbody><tr><td width="238" valign="top"><table style="font-family:Helvetica,sans-serif" width="238" cellspacing="0" cellpadding="0" height="175"><tbody><tr><td height="78"><a href="http://www.outfit7.com/" style="text-decoration:none;border:0px" target="_blank"><img src="http://cdn.outfit7.com/email/logo_new.png" style="border:0px" width="234" height="78"></a></td></tr><tr><td valign="top"><p style="margin:3px 0px 0px 20px;padding:0px 3px;font-weight:bold;font-size:14px;line-height:14px;color:rgb(119,119,119)">JANI BREZAVŠČEK</p><p style="margin:0px 0px 5px 20px;padding:3px;font-size:10px;line-height:12px;color:rgb(119,119,119)">SENIOR SOFTWARE ENGINEER</p><p style="margin:0px 0px 0px 20px;padding:0px;font-size:10px;line-height:12px;color:rgb(119,119,119)"></p><p style="margin:0px 0px 0px 20px;padding:0px 3px;font-size:10px;line-height:12px;color:rgb(119,119,119)"><a href="http://www.outfit7.com/" style="color:rgb(119,119,119)" target="_blank">www.outfit7.com</a></p><p style="margin:0px 0px 0px 20px;padding:11px 3px 0px;font-size:9px;line-height:9px;color:rgb(119,119,119)">Ekipa2 d.o.o. | <a href="https://maps.google.com/?q=Ameri%C5%A1ka+ulica+8&entry=gmail&source=g">Ameriška ulica 8</a> <br>1000 Ljubljana, SI</p></td></tr></tbody></table></td><td style="min-width:332px" width="332" height="200"><a href="http://outfit7.com/" style="text-decoration:none;border:0px" target="_blank"><img src="http://cdn.outfit7.com/email/email_signature_6billion_final.png" style="border:0px" width="332" height="200"></a><br><br></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><span><div class="gmail_quote">On Wed, Dec 6, 2017 at 11:20 AM, Jonathan Kew <span dir="ltr"><<a href="mailto:jfkthame@gmail.com" target="_blank">jfkthame@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 06/12/2017 09:34, Jani Brezavšček wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
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<br>
<br>
शक्ति (I put it in google translate and it looks like it means "power" in hindi)<br>
<br>
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<br>
<br>
I've checked it with Sanskrit2003.ttf and NotoSansDevanagari-Medium.<wbr>ttf they both produce the same abomination<br>
<br>
Can anyone please help me understand if this is a bug in harfbuzz or if I am doing something wrong?<br>
<br>
</blockquote>
<br></span>
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.<br>
<br>
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.<br>
<br>
See <a href="http://press-files.anu.edu.au/downloads/press/p276561/html/section67.html" rel="noreferrer" target="_blank">http://press-files.anu.edu.au/<wbr>downloads/press/p276561/html/s<wbr>ection67.html</a> (scroll down to section 7, "Some forms are completely different...", and note the two examples of the "kt" combination).<br>
<br>
In short: how it looks depends on the font you choose.<span class="m_-6019821962046372704m_-1194189656663906111m_-6819125677937022711HOEnZb"><font color="#888888"><br>
<br>
JK<br>
<br>
</font></span></blockquote></div><br></span></div>
<br></div></div><span>______________________________<wbr>_________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/harfbuzz</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>