FontLab Script for marking glyphs with overlapping contours

Primary tabs

5 posts / 0 new
Last post
Janic's picture
Offline
Joined: 14 Apr 2008 - 5:09am
FontLab Script for marking glyphs with overlapping contours
0

hello

Does anyone know script that can identify overlapping contours in FontLab. I need just to mark these glyphs, not remove the overlap as is the command in FontLab.

thank you

Miguel Sousa's picture
Offline
Joined: 18 May 2003 - 8:30pm
0

Have you tried the "Mark problems" macro available from the Font window? Just right-click in any of the glyphs (to get the contextual menu) and select Macro > Mark problems. Don't know what each color means.

Cristobal Henestrosa's picture
Joined: 24 May 2005 - 7:36am
0

As far as I know, the Mark Problems macro doesn’t mark any overlapping contours, but rather the problems considered as such by Font Audit, i. e., Empty lines and curves, Vector on closepaths, Flat curves, Collinear vectors, Inflection on curves, Weak extremum points, Normal extremum points, Incorrect smooth connection, Cusp and self-intersecting curves, Semi-horizontal and vertical vectors, Contour is not closed & Object is too short.

As for the colors, they indicate how big are the problems and/or how many problems the glyph has. Red means a big problem or many minor things to fix, pale yellow means “don’t worry too much”.

Micha Mirck's picture
Offline
Joined: 12 Sep 2006 - 3:26am
0

I don't know how to that in FontLab but if you generate a font and open it in FontForge, it will give a warning for every glyph with overlaps. You could than mark those glyphs in FL. I agree it is not the best and most easy way...

Ramiro Espinoza's picture
Offline
Joined: 1 Aug 2002 - 9:32am
0

Here is a solution to the problem:
http://www.typophile.com/node/84799