Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Werner LEMBERG
>>> With patch it is better now, see the attached image. >> >> You must not use ftview to test whether glyphs are correctly >> joined! This programs inserts an additional pixel horizontally >> between each glyph. For simple stuff, use ftstring. For complex >> shaping, you need a demo program fr

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Alexei Podtelezhnikov
On Mon, Mar 12, 2012 at 4:04 AM, Werner LEMBERG wrote: > >> With patch it is better now, see the attached image. > > You must not use ftview to test whether glyphs are correctly joined! > This programs inserts an additional pixel horizontally between each > glyph.  For simple stuff, use ftstring.

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread pravin....@gmail.com
On 12 March 2012 13:37, Werner LEMBERG wrote: > > > You must not use ftview to test whether glyphs are correctly joined! > > This programs inserts an additional pixel horizontally between each > > glyph. For simple stuff, use ftstring. > > Unfortunately, it doesn't support embolding... Patches

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Werner LEMBERG
> You must not use ftview to test whether glyphs are correctly joined! > This programs inserts an additional pixel horizontally between each > glyph. For simple stuff, use ftstring. Unfortunately, it doesn't support embolding... Patches welcomed :-) Werner ___

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Werner LEMBERG
> With patch it is better now, see the attached image. You must not use ftview to test whether glyphs are correctly joined! This programs inserts an additional pixel horizontally between each glyph. For simple stuff, use ftstring. For complex shaping, you need a demo program from, say, Pango.

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-29 Thread Alexei Podtelezhnikov
On Fri, Feb 24, 2012 at 9:54 PM, suzuki toshiya 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) On line 357 in ftview.c, I think it is incorrect to double the strength before it

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-29 Thread suzuki toshiya
I tried this issue (unflat horizontal stroke of Lohit Devanagari when it is autoembolden) on Mac OS X 10.6 on amd64 platform, the issue is reproduced. The result is attached. I was afraid that some overflow occurs in ILP32 platform and does not occur in LP64 platform, but it would not be so simple.

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-28 Thread Werner LEMBERG
> Unfortunately, auto-emboldened fonts are not a part of ftstring's > functionality. Volunteers to implement that are highly welcomed :-) > Repeating myself, auto-emboldened glyphs should get auto-increased > advances according to the strength of the emboldening and not based > on the width. I

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-28 Thread Werner LEMBERG
> Can i test Freetype auto-embolden with any freetype DEMO? Yes, e.g. with ftview. Press the space key to cycle through the rendering modes; one of them does artificial emboldening. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.or

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-28 Thread Alexei Podtelezhnikov
ftstring is supposed to be an exemplar string renderer for other libraries because it handles lsb_delta and rsb_delta. This is short of kerning but at least it is better than ftview. Unfortunately, auto-emboldened fonts are not a part of ftstring's functionality. So other libraries could not copy t

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-28 Thread suzuki toshiya
Please show Lohit Devanagari with ftview, at appropriate size, then, hit space bar once. You may find the auto-embolden shapes. If you hit space bar once more, you may find the auto-oblique shapes. Regards, mpsuzuki pravin@gmail.com wrote: > yes I think pango is also involve in this. Can i t

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-28 Thread pravin....@gmail.com
On 27 February 2012 22:52, Alexei Podtelezhnikov wrote: > On Mon, Feb 27, 2012 at 10:41 AM, pravin@gmail.com > wrote: > > On 27 February 2012 19:36, Alexei Podtelezhnikov > wrote: > >> On Mon, Feb 27, 2012 at 2:12 AM, pravin@gmail.com > >> wrote: > >> > On 27 February 2012 07:58, Alexe

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-27 Thread pravin....@gmail.com
On 27 February 2012 19:36, Alexei Podtelezhnikov wrote: > On Mon, Feb 27, 2012 at 2:12 AM, pravin@gmail.com > wrote: > > On 27 February 2012 07:58, Alexei Podtelezhnikov > wrote: > >> wrote: > >> > I think there are 2 issues in auto-embolden Lohit Devanagari; > >> > a) disconnection of hor

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-27 Thread Alexei Podtelezhnikov
On Mon, Feb 27, 2012 at 12:17 PM, Antoine Leca wrote: > Alexei Podtelezhnikov wrote: >> In this particular font the glyph width is larger than it advance, >> which is unusual. > ... but it is typical of Devanagari fonts, and in general of several > "hanging" scripts, where the upper bar is require

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-27 Thread Alexei Podtelezhnikov
On Mon, Feb 27, 2012 at 10:41 AM, pravin@gmail.com wrote: > On 27 February 2012 19:36, Alexei Podtelezhnikov wrote: >> On Mon, Feb 27, 2012 at 2:12 AM, pravin@gmail.com >> wrote: >> > On 27 February 2012 07:58, Alexei Podtelezhnikov >> > wrote: >> >> wrote: >> >> > I think there are 2

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-27 Thread Antoine Leca
Alexei Podtelezhnikov wrote: > In this particular font the glyph width is larger than it advance, > which is unusual. ... but it is typical of Devanagari fonts, and in general of several "hanging" scripts, where the upper bar is required to connect at both ends for most glyphs. I am not sure if it

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-27 Thread Alexei Podtelezhnikov
On Mon, Feb 27, 2012 at 2:12 AM, pravin@gmail.com wrote: > On 27 February 2012 07:58, Alexei Podtelezhnikov wrote: >> 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

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-26 Thread pravin....@gmail.com
On 27 February 2012 07:58, Alexei Podtelezhnikov wrote: > On Fri, Feb 24, 2012 at 9:54 PM, suzuki toshiya > 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 loo

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-26 Thread suzuki toshiya
Dear Alexei, Thank you for trying to reproduce this issue. Today I'm out of my office and I don't bring 64-bit machine, but I have some (Debian GNU/Linux and Mac OS X on amd64), I will try within a few days. Alexei Podtelezhnikov wrote: > On Fri, Feb 24, 2012 at 9:54 PM, suzuki toshiya > wrote:

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-26 Thread Alexei Podtelezhnikov
On Fri, Feb 24, 2012 at 9:54 PM, suzuki toshiya 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 abl

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-25 Thread pravin....@gmail.com
2012/2/25 suzuki toshiya > Dear Alexei, > > Thank you again for comment. I think your comment (the lower-left > corner of the horizontal stroke is interpreted as Bezier curve) > is reasonable, although yet I've not checked how they are interpreted > yet (sorry for my laziness). > > I think there

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-24 Thread suzuki toshiya
Dear Alexei, Thank you again for comment. I think your comment (the lower-left corner of the horizontal stroke is interpreted as Bezier curve) is reasonable, although yet I've not checked how they are interpreted yet (sorry for my laziness). I think there are 2 issues in auto-embolden Lohit Devan

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-02-24 Thread Werner LEMBERG
Lohit Devanagari does not have Bold variant and presently using auto bold algorithm. It does not work correctly in gnome see http://pravins.fedorapeople.org/Screenshot.png >> >> It seems that FreeType 2.4.5 shows same problem. > > I think it is clear what is happening: instead of

Re: [ft-devel] Auto Embolding of Lohit Devanagari (Re: where might be a problem)

2012-02-24 Thread Alexei Podtelezhnikov
On Fri, Feb 24, 2012 at 10:54 AM, suzuki toshiya wrote: >> Alexei Podtelezhnikov wrote: >>> On Fri, Feb 24, 2012 at 4:05 AM, pravin@gmail.com >>> wrote:   Lohit Devanagari does not have Bold variant and presently using auto bold algorithm. It does not work correctly in gnome  see >>

[ft-devel] Auto Embolding of Lohit Devanagari (Re: where might be a problem)

2012-02-24 Thread suzuki toshiya
It seems that FreeType 2.4.5 shows same problem. suzuki toshiya wrote: > Dear Alexei, > > Thank you for notice, the latest FreeType2 shows the problem. > I will check if the previous stroker shows no problem. > > Regards, > mpsuzuki > > Alexei Podtelezhnikov wrote: >> On Fri, Feb 24, 2012 at 4: