bugThe FreeType Project - Bugs: bug #39342, Rendering stroke gives a cutoff

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39342: Rendering stroke gives a cutoff

Submitter:  Yaroslav <soulsharer>
Submitted:  Tue 25 Jun 2013 06:20:56 PM UTC
   
 
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.0

Jump to the original submission

Wed 02 Mar 2016 08:31:25 AM UTC, comment #8: 

No response since almost a year, thus I'm closing this bug report as resolved.  Please feel free to reopen it if you can provide more details of a failure.

Werner LEMBERG <wl>
Group administrator
Tue 24 Mar 2015 07:51:11 PM UTC, comment #7: 

I have a feeling that the recently fixed bug 44412 was a duplicate of this bug. Perhaps, you can test the current snapshot. Alternatively, you can test this patch http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=6b832c872d9726fd3f0979b3f95c7fa618fb50f2


Alexei Podtelezhnikov <podtelez>
Group Member
Wed 03 Jul 2013 12:47:57 PM UTC, comment #6: 

Yeah its exactly the same code, the only thing I've changed is the font and letter to render (for example "I").

Yaroslav <soulsharer>
Wed 03 Jul 2013 11:17:15 AM UTC, comment #5: 

For the ease of debugging: Are you using example2.cpp as-is, just using a different font?  Otherwise, can you please post the problematic code so that I can reproduce the issue?

Werner LEMBERG <wl>
Group administrator
Wed 03 Jul 2013 11:14:46 AM UTC, comment #4: 

David Bevan is no longer in software development, so it will take some time until I will sufficiently understand his code to be able to debug it.

Werner LEMBERG <wl>
Group administrator
Sat 29 Jun 2013 09:11:08 AM UTC, comment #3: 

So I've rendered the stroke with FT_Glyph_Stroke() and  FT_Glyph_To_Bitmap() and everything works perfect, not cutoffs what so ever. Maybe there is something wrong with FT_Glyph_StrokeBorder()? But thats just a guess.

Yaroslav <soulsharer>
Wed 26 Jun 2013 05:54:03 AM UTC, comment #2: 

I'm not sure whether this isn't expected behaviour, especially due to the extreme cusp at the upper right of the outline of the `H' glyph and friends in `CherryCreamSoda.ttf' (which can be downloaded from http://www.fontspace.com/font-diner/cherry-cream-soda, BTW).  I've CCed David Bevan, who has rewritten the code some time ago.  It seems to me that this rather qualifies as a documentation bug.

Werner LEMBERG <wl>
Group administrator
Tue 25 Jun 2013 06:25:46 PM UTC, comment #1: 

Forgot to mention that I'm using FreeType 2.5.0

Yaroslav <soulsharer>
Tue 25 Jun 2013 06:20:56 PM UTC, original submission:  

So I try to render Cherry Cream Soda TrueType font with a stroke using the example provided here: http://www.freetype.org/freetype2/docs/tutorial/example2.cpp though when I set the width of the stroke for 10 or more it outputs this: http://i.imgur.com/vuUy71l.png

The weird part is that some standard fonts (provided with Windows) doesn't have this issue.

Why is it happening, any idea? Thanks.

Yaroslav <soulsharer>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #28414:  cutoffs.PNG added by soulsharer (20KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by podtelez (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by soulsharer (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-02 wl StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.0
    2013-07-03 wl Carbon-CopyRemoved -email is unavailable- -
    2013-06-26 wl StatusNone In Progress
        Assigned toNone wl
        Carbon-Copy- Added -email is unavailable-
    2013-06-25 soulsharer Attached File- Added cutoffs.PNG, #28414

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code