Bad fonts and tolerance

151 views
Skip to first unread message

Robert Conde

unread,
Feb 26, 2015, 3:51:49 PM2/26/15
to gly...@googlegroups.com
Hey Behdad,
   We were testing glyphy out on a bunch of fonts and noticed the following with comic sans bold ms (comicbd.ttf on windows)

If we changed the TOLERANCE from 1/2048 to 1/256 in demo-common.h we get this:


We are interpreting this tolerance as the distance in em units under which two points are considered the same. Is this correct? In that case, the danger of raising this tolerance is to lose detail on very complex fonts...correct?

On a separate topic, you mentioned in your linux.conf.au talk that you had sub-pixel rendering working. Are there plans to merge that or any other enhancements you've developed into github any time soon?

Thanks for your feedback,
Rob Conde

Behdad Esfahbod

unread,
Apr 8, 2015, 5:27:07 PM4/8/15
to gly...@googlegroups.com
Hi Robert,

Sorry for the extremely late response.

On 15-02-26 12:51 PM, Robert Conde wrote:
> Hey Behdad,
> We were testing glyphy out on a bunch of fonts and noticed the following
> with comic sans bold ms (comicbd.ttf on windows)
>
> <https://lh4.googleusercontent.com/-8Oo8383AznE/VO-GJ3QJKEI/AAAAAAAAACw/wj_5YAuCLmo/s1600/glyphy_comic_bd_2048.png>

I can reproduce that. I'll try to find some time debugging it.



> If we changed the TOLERANCE from 1/2048 to 1/256 in demo-common.h we get this:
>
> <https://lh4.googleusercontent.com/-OKQwVXfIbwU/VO-GZhG-niI/AAAAAAAAAC4/3LU9DPoGDgs/s1600/glyphy_comic_bd_256.png>
>
>
> We are interpreting this tolerance as the distance in em units under which two
> points are considered the same. Is this correct?

No. The tolerance is the maximum error tolerated when converting bezier
outline to arc-spline outline.

> In that case, the danger of
> raising this tolerance is to lose detail on very complex fonts...correct?

You get more error, yes.


> On a separate topic, you mentioned in your linux.conf.au talk that you had
> sub-pixel rendering working. Are there plans to merge that or any other
> enhancements you've developed into github any time soon?

Right. They are in branches on the Google code project. I should find some
time to review and merge those.

Please keep reporting about your experience using it. The more people use
GLyphy the more I can justify allocating time to it.

Thanks,

behdad

> Thanks for your feedback,
> Rob Conde
>
> --
> You received this message because you are subscribed to the Google Groups
> "GLyphy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to glyphy+un...@googlegroups.com
> <mailto:glyphy+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Robert Conde

unread,
Apr 10, 2015, 3:42:15 PM4/10/15
to gly...@googlegroups.com

Please keep reporting about your experience using it.  The more people use
GLyphy the more I can justify allocating time to it.


Absolutely!!

Thanks,
Rob 
Reply all
Reply to author
Forward
0 new messages