bugThe FreeType Project - Bugs: bug #42522, Autohinter - dots too close with...


bug #42522: Autohinter - dots too close with 'i', 'j', '?', '!'

Submitted by:  zboobzor <zboobzor>
Submitted on:  Sun 08 Jun 2014 02:33:54 AM UTC  
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  Confirmed Privacy:  Public
Assigned to:  Werner LEMBERG <wl> 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.


Sun 29 Jun 2014 04:41:09 PM UTC, comment #2: 

OK, I would be very grateful if you could look into this when you have time.

Thanks again.

zboobzor <zboobzor>
Mon 09 Jun 2014 07:52:41 AM UTC, comment #1: 

It has to be investigated whether this is easily possible.  I say yes with some limitations, however, I currently don't have time to work on this.

The very problem is that the gap between the dot and the rest of the character has to be extremely enlarged (to have a vertical size of approx. 1px), compared to the rest of the glyph at those ppem sizes.  Normally, the auto-hinter doesn't do this: shape prevention is more important.  For example, if you have a series of vertical dots, how shall the auto-hinter hint this?  At small sizes, it is impossible to always have a 1px gap between the dots; this would increase the glyph's vertical size far too much.

Such cases are much better handled with manual hinting, which actually can take care of such situations.  I think that auto-hinting below 10pt will always have some problems, and that corrections can only be partial, based on some script-specific heuristics.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 08 Jun 2014 02:33:54 AM UTC, original submission:  

When using the autohinter set to hintslight the dot above 'i' and 'j' and below '?' and '!' is often too close to the rest of the character.
This can make 'i', 'l' and '!' hard to differentiate for example.

This can be seen with numerous fonts at certain sizes and weights, such as :
Verdana bold 9 and 10 pt (96 dpi)
Open Sans regular 11 pt (96 dpi)
Source Sans Pro bold 8 and 9 pt (96 dpi)
DejaVu Sans bold 8 pt (96 dpi)

Would it be possible to guarantee a certain amount of space between the dot and the rest of the characters ?


zboobzor <zboobzor>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by zboobzor (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-09 wl StatusNone => Confirmed
        Assigned toNone => wl

    Back to the top

    Powered by Savane 3.5