Contours with No Direction

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Jaynz
Posts: 7
Joined: Wed Jan 12, 2011 4:31 pm

Contours with No Direction

Post by Jaynz »

Greetings, all.

I've been recently updating and cleaning-up a lot of my fonts, including some very old ones dating back a number of years. I have discovered that a small number of these fonts give the error 'no contour direction' when validating. Unfortunately I can't find a way to fix this error without redrawing the contour (or entire glyph) where this problem crops up. Is there a way to assign a direction to a contour with this issue?
Dave Crosby
Typographer
Typographer
Posts: 793
Joined: Mon Feb 23, 2004 1:13 pm
Location: Enoch, Utah

Re: Contours with No Direction

Post by Dave Crosby »

Usually this is a problem of a point being "backtracked" along the contour.

Using the glyph transformer sometimes causes this problem, creating "knots" where section of the glyph accidentally overlap other glyph sections.

Outer contour should step clockwise, inner counterclockwise. When backtracking occurs the program cannot tell if it is an inner or outer contour. Correcting the point location resolves the problem.
Contour-01.jpg
Contour-01.jpg (53.57 KiB) Viewed 7374 times

Click on the icon with the ! on it to validate the glyph. This will tell you where the problems are.
Go to point mode, select a point and use Q and W to step through the points to get to the red point(s) causing the problem. When you get there press the magnifying glass icon to jump to the problem area. Make correction of using the arrows. Shift + arrow moves 100 spaces, arrow = 10, Ctrl + arrow = 1 space.

sometimes it is easier to delete points then use A to insert a new point. F changes selected point to off contour, N changes to On contour.

If you have selected real time validation you will be advised as each problem disappears.
Aut nunc aut nunquam
Ian P
Posts: 5
Joined: Thu Apr 08, 2010 8:42 am

Re: Contours with No Direction

Post by Ian P »

I too have a glyph where the validator is reporting a "contour with unknown direction". The glyph was originally created by importing a vector graphic. Having checked the complete contour I see no 'knots' or other unusual problems. Clicking the change direction button has no effect. Any idea how to fix this and how important an error is it?

Thanks
Ian
Attachments
noDirection.png
noDirection.png (32.9 KiB) Viewed 7254 times
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9877
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Contours with No Direction

Post by Bhikkhu Pesala »

It looks like the problem is with the top left corner of the contour. Zoom in and switch to points node.

Just drag a view nodes around to see if that fixes it. Probably as said, the contour backtracks on top of itself.

If you cannot solve it, attach the font, and tell which glyph it is.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11158
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Contours with No Direction

Post by Erwin Denissen »

Do double-click the coordinate within the Validation panel. The glyph edit window will then scroll to the position where it detected the problem. Sometimes it is obvious, but sometimes you'll need to move a point near the area to see what's causing the problem.
Erwin Denissen
High-Logic
Proven Font Technology
Ian P
Posts: 5
Joined: Thu Apr 08, 2010 8:42 am

Re: Contours with No Direction

Post by Ian P »

Thank you Erwin,
There was a single point that caused the problem. I deleted it and made a few small adjustments, now it validates without any errors.
As a usabillity enhancement, would it be possible to highlight the point for this type of error?
Ian
vanisaac
Posts: 337
Joined: Sun Mar 30, 2003 1:33 pm
Location: Washington State, USA

Re: Contours with No Direction

Post by vanisaac »

Ian P wrote:Thank you Erwin,
There was a single point that caused the problem. I deleted it and made a few small adjustments, now it validates without any errors.
As a usabillity enhancement, would it be possible to highlight the point for this type of error?
Ian
Actually, it already does. There is a "show intersecting components and contours" button in the validation toolbar (I'm running 5.0, so it may be a bit different for you), and it will show up as a red X.
Erwin Denissen
Moderator
Moderator
Posts: 11158
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Contours with No Direction

Post by Erwin Denissen »

It does indeed show a red "x" in places where it detects intersecting contours, but not with "contour with unknown direction" warnings.

We will add this support with the next upcoming release, probably available this week.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11158
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Contours with No Direction

Post by Erwin Denissen »

We just released FontCreator 6.2.0.263 which contains the requested enhancement. Within FontCreator (version 6.1. and higher) select Help -> Check for Updates from the main menu to update to the latest version.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply