On Mon, Feb 27, 2012 at 10:41 AM, pravin....@gmail.com <pravin....@gmail.com> wrote: > On 27 February 2012 19:36, Alexei Podtelezhnikov <apodt...@gmail.com> wrote: >> On Mon, Feb 27, 2012 at 2:12 AM, pravin....@gmail.com >> <pravin....@gmail.com> wrote: >> > On 27 February 2012 07:58, Alexei Podtelezhnikov <apodt...@gmail.com> >> > wrote: >> >> <mpsuz...@hiroshima-u.ac.jp> wrote: >> >> > I think there are 2 issues in auto-embolden Lohit Devanagari; >> >> > a) disconnection of horizontal strokes (which should be connected >> >> > with >> >> > previous/next glyph)4.8 >> >> >> >> It looks like advance value is incorrectly adjusted or calculated. >> >> I was able to reproduce this on Fedora 16 x86_64, 64-bit build of >> >> freetype-2.4.8. >> >> >> >> Pravin, can you check Fedora x86_64 spin? >> > >> > Still the major problem is broken upper horizontal BAR, in local >> > language we >> > call it Shirorekha. It should be continuous as it is in Lohit normal. >> >> In this particular font the glyph width is larger than it advance, >> which is unusual. >> FT_Outline_Embolden does not adjust glyph metrics. So I wonder how you >> handle >> the advance values or which higher level text layout library does that for >> you. > > > Earlier even me too thought it might be problem. But even if we make right > and left kerning ZERO result does not change. > > Text "कखगघचाक" u0915u0916 > I have changes width of only above characters in font (see > u'\u0915\u0916\u0917\u0918\u091a\u093e\u0915' characters) > Updated TTF file http://pravins.fedorapeople.org/Lohit-Devanagari.ttf > Updated Sfd file http://pravins.fedorapeople.org/Lohit-Devanagari.sfd > Screenshot http://pravins.fedorapeople.org/Screenshot-lohit-test-3.png > > Does hinting makes any difference here with Bold? >
Kerning and advance are different beasts. Your emails lack critical details. Please give more details. We need a snippet of your code to understand why advance values increased larger than they should have been. I am pretty sure it is about the glyph advance. As you can see the whole string is wider than the original one, probably a bit too much. _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel