bugThe FreeType Project - Bugs: bug #55043, Glyph rendered with null width,...

 
 

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

bug #55043: Glyph rendered with null width, but with rows.

Submitter:  Sylvain <slvn>
Submitted:  Sat 17 Nov 2018 04:48:15 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Sun 18 Nov 2018 02:21:43 PM UTC, comment #1: 

Strangely, the result is correct. The native hinter for mono target produces degenerate outline with all x = 0 and y coordinate spanning 3 pixels. If anything this is a problem with bytecode which is not supposed to work at such small sizes anyway. I did notice that you hint for mono but render gray too.

You can see what is going on using ftgrid demo.

Alexei Podtelezhnikov <podtelez>
Group Member
Sat 17 Nov 2018 04:48:15 PM UTC, original submission:  

Not sure this can be a bug because FreeType output is consistent. But it crashes my test-app (which is what I wanted anyway).

This is a corner case as it happens for 1 font out of hundreds, and the font comes from Android.

Issue is : rendering char tilde "~", at size 1, font "ComingSoon.ttf", hinting FT_LOAD_TARGET_MONO.
width=0 pitch=0 rows=3 buffer=(nil)

Here are testcase and font.
I have reproduced it with git head and also FT 2.9.1.

Hinting seems involved, not sure if needed, but I am activating FT_CONFIG_OPTION_USE_HARFBUZZ.


Sylvain <slvn>

 

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

Attached Files
file #45469:  bug_freetype_3.c added by slvn (2KiB - text/x-csrc)
file #45470:  ComingSoon.ttf added by slvn (58KiB - font/ttf)

 

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 slvn (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-18 podtelez StatusNone Invalid
        Open/ClosedOpen Closed
    2018-11-17 slvn Attached File- Added bug_freetype_3.c, #45469
        Attached File- Added ComingSoon.ttf, #45470

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code