freetype-devel
[Top][All Lists]
Advanced

[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: Wed, 29 Feb 2012 10:00:39 -0500

On Fri, Feb 24, 2012 at 9:54 PM, suzuki toshiya
<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)

On line 357 in ftview.c, I think it is incorrect to double the
strength before it is added to the advance on line 376. To confirm
this I looked at the lines 895 and 959 in ftoutln.c. Indeed, each
outline point is moved by half the strength of emboldening resulting
in a total increase of the width by the strength value. So it easy to
fix in ftview.c on line 357, but much harder to propagate this sacred
knowledge to the higher level libraries.

> b) unflat horizontal stroke at the left side.

The most recent snapshot from Toshiya-san, leads me to think that
outline.tags are not initialized
completely. Still looking ...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]