Re: [ft] Fat strokes getting cropped

2008-12-10 Thread Werner LEMBERG
> Is there a "proper" way to get the advance for a glyph that has been
> stroked or do I just use the non stroked advance and add 2 * the
> stroke width?

What you want to do seems the right solution.


Werner


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


RE: [ft] Fat strokes getting cropped

2008-12-10 Thread Erik Möller
Is there a "proper" way to get the advance for a glyph that has been stroked
or do I just use the non stroked advance and add 2 * the stroke width?

Erik

-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED] 
Sent: den 9 december 2008 18:29
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [ft] Fat strokes getting cropped


> The head revision worked like a charm... thanks!  Do you list
> planned stable releases somewhere?

We only have stable releases.  I'll probably prepare a new one for end
of December.


Werner

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3677 (20081209) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3682 (20081210) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


Re: [ft] Fat strokes getting cropped

2008-12-09 Thread Werner LEMBERG

> The head revision worked like a charm... thanks!  Do you list
> planned stable releases somewhere?

We only have stable releases.  I'll probably prepare a new one for end
of December.


Werner


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


RE: [ft] Fat strokes getting cropped

2008-12-09 Thread Erik Möller
The head revision worked like a charm... thanks!
Do you list planned stable releases somewhere?

Erik

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Werner
LEMBERG
Sent: den 8 december 2008 23:53
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [ft] Fat strokes getting cropped


> I'm using freetype 2.3.7 to render a color glyph that has another
> color stroke to a bitmap via direct rendering.  It works well, but
> I've noticed that when the stroke width grows beyond a certain limit
> the spans appear to get cropped on the right side.

Please test the current CVS; I think I've fixed this issue already.

>From the CHANGES file:

- The smooth renderer produced truncated images (on the right) for
  outline parts with negative horizontal values.  Most fonts don't
  contain outlines left to the y coordinate axis, but the effect
  was very noticeable for outlines processed with FT_Glyph_Stroke,
  using thick strokes.


Werner


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3674 (20081209) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3676 (20081209) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype


Re: [ft] Fat strokes getting cropped

2008-12-08 Thread Werner LEMBERG

> I'm using freetype 2.3.7 to render a color glyph that has another
> color stroke to a bitmap via direct rendering.  It works well, but
> I've noticed that when the stroke width grows beyond a certain limit
> the spans appear to get cropped on the right side.

Please test the current CVS; I think I've fixed this issue already.

>From the CHANGES file:

- The smooth renderer produced truncated images (on the right) for
  outline parts with negative horizontal values.  Most fonts don't
  contain outlines left to the y coordinate axis, but the effect
  was very noticeable for outlines processed with FT_Glyph_Stroke,
  using thick strokes.


Werner


___
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype