User Guide

Hinting
535
In the Glyph Window the Double link command appears as a line with two
arrows and a mark in the middle. The mark is blue if the link is connected
to the stem, and gray if it is not connected. If the link is connected the stem
width will appear near the mark:
First linked poin t
Stem name
Second linked poin t
In the Program panel a double link command appears as:
DoubleLinkV 12 <-> 36 [0]
where 12 and 36 are points that are linked; and 0 is the number of the stem
to which this link is connected (or “ns” if it is not connected to the stem).
How the Double Link Command Works
1. The original (not grid-fitted) positions of two linked points are retrieved and the distance
between them measured.
2.
If the link is connected with the stem the distance is replaced by the prepared stem width for
the PPM. If the scaled distance is equal to or exceeds 3 pixels it is rounded to the closest
integer. If the link is not connected to a stem the distance is rounded to the closest integer,
starting from 1.
3.
The grid-fitted positions of the two linked points are stored.
4.
Both points are aligned to the closest grid line.
5.
Rounding errors for both points are calculated by comparing original and rounded positions.
6.
The point whose rounding error is less remains in place and the second point is set at the
distance calculated in step 1. If the rounding errors are equal then the point with the lower
coordinate value is set.
7.
The distance of the linked point is set equal to the grid-fitted position of the base point shifted
by the distance.