[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Auto Embolding of Lohit Devanagari
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] Auto Embolding of Lohit Devanagari |
Date: |
Mon, 27 Feb 2012 12:22:55 -0500 |
On Mon, Feb 27, 2012 at 10:41 AM, address@hidden
<address@hidden> wrote:
> On 27 February 2012 19:36, Alexei Podtelezhnikov <address@hidden> wrote:
>> On Mon, Feb 27, 2012 at 2:12 AM, address@hidden
>> <address@hidden> wrote:
>> > On 27 February 2012 07:58, Alexei Podtelezhnikov <address@hidden>
>> > wrote:
>> >> <address@hidden> 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.
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, (continued)
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, suzuki toshiya, 2012/02/24
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, address@hidden, 2012/02/25
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Alexei Podtelezhnikov, 2012/02/26
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, suzuki toshiya, 2012/02/26
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, suzuki toshiya, 2012/02/29
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, address@hidden, 2012/02/27
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Alexei Podtelezhnikov, 2012/02/27
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Antoine Leca, 2012/02/27
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Alexei Podtelezhnikov, 2012/02/27
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, address@hidden, 2012/02/27
- Re: [ft-devel] Auto Embolding of Lohit Devanagari,
Alexei Podtelezhnikov <=
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, address@hidden, 2012/02/28
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, suzuki toshiya, 2012/02/28
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Alexei Podtelezhnikov, 2012/02/28
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Werner LEMBERG, 2012/02/28
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Werner LEMBERG, 2012/02/28
- Re: [ft-devel] Auto Embolding of Lohit Devanagari, Alexei Podtelezhnikov, 2012/02/29