bugThe FreeType Project - Bugs: bug #46486, Check in some simple fonts for...

 
 

bug #46486: Check in some simple fonts for testing/fuzzing.

Submitted by:  bungeman <bungeman>
Submitted on:  Sat 21 Nov 2015 12:16:23 AM UTC  
 
Severity:  3 - Normal Item Group:  Wishlist
Status:  In Progress Privacy:  Public
Assigned to:  Armin <cherusker> Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 30 Jun 2018 09:14:27 AM UTC, comment #5:

Please attach a zip file or something similar of the five files in question so that I can check the fonts easily.

I can imagine that since the creation of those fonts FreeType's rejection mechanism has improved – maybe those fonts aren't that well-formed?

Werner LEMBERG <wl>
Project Administrator
Fri 29 Jun 2018 11:45:06 AM UTC, comment #4:

I had a closer look at the files: wow, thanks a lot @bungeman, that's great work! :) I just added most of them to https://github.com/cherusker/freetype2-testing/tree/master/fuzzing/corpora -- this repository will be migrated to FreeType in the course of this summer. After migration, these fonts will finally fuel the various fuzzers. For reference: we decided to split the fuzzer itself into many dedicated fuzzers that, each, work only with one specific driver.

Generally @bungeman,feel free to provide more fonts if you like. While it is easy to get good samples for TrueType, it is especially hard to come by good (and royalty-free) samples for BDF, Cid Type 1, Type 42, and Windows FNT.

Most of the attached files worked out of the box, but FreeType has issues with five of them:

- HangingS-16.pt3: Broken file
- HangingS.bmap.bin: Cannot open resource
- HangingS.cff: Unknown file format
- HangingS.pt3: Broken file
- HangingS.t11: Unknwon file format

@wl @bungeman do you have ideas what could cause these issues? I will investigate as well.

Armin <cherusker>
Project MemberIn charge of this item.
Tue 05 Jun 2018 08:21:48 AM UTC, comment #3:

Oh that looks amazing, yes sure, I will gladly have a look at that :)

Armin <cherusker>
Project MemberIn charge of this item.
Tue 05 Jun 2018 05:54:11 AM UTC, comment #2:

Reassigning to Armin, who is going to handle such issues as part of GSoC 2018 :-)

Werner LEMBERG <wl>
Project Administrator
Wed 25 Nov 2015 01:46:11 PM UTC, comment #1:

Great!

I suggest that you create a repository somewhere (github, repo.or.cz, savannah.nongnu.org, etc.) that holds all the data.

Of course, those files could be directly added to FreeType's git repository.  However, I think that other projects may benefit also from your set of test fonts.

And yes, having scripts to automatically regenerate the output fonts would be beneficial.

Werner LEMBERG <wl>
Project Administrator
Sat 21 Nov 2015 12:16:23 AM UTC, original submission:

The attached 'fonts_for_fuzzing.tar.gz' contains a number of very small well formed fonts in various formats (including 'tar' formats understood only by the fuzzer driver itself). I've created all of these myself and they are all SIL licensed (even if the font format won't let me state that internally). The known limitations are

No pfr fonts.
No 'sbix' or other color fonts.
No 'avar', 'cvar', 'fpgm' or 'hdmx' examples.

Aside from these limitations, this gives a good starter set for fuzzing, as all of these fonts are small (so the interesting bits don't get truncated away). It would be great to have checked in either these or some other representative set available as an example starter set for fuzzing or testing in general.

I also have the fontforge sfd files for these. With some effort  I might be able to put together a fontforge script to generate from those, as well as the command lines to create the bdf and PE FON files, if that is of interest.

bungeman <bungeman>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #35510:  fonts_for_fuzzing.tar.gz added by bungeman (73KiB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-05 wl StatusNeed Info => In Progress
        Assigned towl => cherusker
    2015-11-25 wl StatusNone => Need Info
        Assigned toNone => wl
    2015-11-21 bungeman Attached File- => Added fonts_for_fuzzing.tar.gz, #35510

    Back to the top


    Powered by Savane 3.4