[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_Glyphslot_Embolden is broken at sometimes.
From: |
Chia-I Wu |
Subject: |
Re: [ft-devel] FT_Glyphslot_Embolden is broken at sometimes. |
Date: |
Thu, 27 Oct 2005 09:08:13 +0800 |
User-agent: |
Mutt/1.5.11 |
On Wed, Oct 26, 2005 at 11:00:09PM +0200, Werner LEMBERG wrote:
> > FT_Glyphslot_Embolden works at most of time, but sometimes it
> > doesn't(see attachment). To run the testcase, you need simsun.ttc
> > from windows. Any comments?
>
> Which FT version?
>
> Unfortunately, I don't have simsun.ttc so I can't test it. Chai-I?
>
> BTW, I don't have cairo either -- can you reproduce the problem with
> ftview from the ft2demos package, using the current CVS?
The character shown in the .png (U+60CA) has a contour of width 0,
namely all points have same x value (bug?), in the left top corner.
It misleads FT_Outline_Get_Orientation. Thus instead of emboldened,
each stroke got shrinked.
Similar issues have already been seen in some free traditional Chinese
fonts. They have glyphs consisting of components of different
orientations. I think it's a bug of the font and since those fonts are
actively maintained, I reported the issue to the font authors, after
failed to work around this in freetype.
--
Regards,
olv