View on GitHub

TypeRig

Proxy API and Font Development Toolkit for FontLab

Download this project as a .zip file Download this project as a tar.gz file

TypeRig GUI

TypeRig Panel

Anchor Panel

The Anchor tab/subpanel is a special purpose tool for dealing with anchors on glyph level. It works in Glyph Window (GW) as well as Font Window (FW) and most of its actions are governed by the TypeRig panel masthead (MH) unless specially noted. Use Refresh button when moving onto another glyph. Trying to apply any action onto different glyph than the one shown will discard that action, rise a warning and refresh the panel. The Anchor tab consists of three main sections: anchor tree; anchor tree actions; Add/move/modify anchor;

A typical view of Anchor panel

The Anchor tree

The Anchor tree shows all of the glyph’s master layers and their associated anchors in a spreadsheet like view. Anchors that are compatible (present) in all of the masters are marked green, those that are missing in one or several layers are marked red.

A typical view of Anchor tree with some anchors missing

Fields showing anchor position across layers are editable and upon entry will change the coordinates of the anchor modified.

The Anchor tree actions

This part represents some basic actions:

Add/move/modify anchor

This part is responsible for creating, moving and renaming anchors.

An overlook of the Add/move/modify anchor part

On top left resides an editing field (N:) for entering anchor name. It is used in new anchor creation as well as for renaming or adding suffix to existing ones. It also offers some common naming options upon right click. Right next to it is a combo box that allows switching between Anchors and Pins.

Right click options of the Anchor name-filed

Below are two combo boxes that are responsible for the anchor position. Next to each combo box is an editing field that offers further adjustment to the algorithm chosen.

X positioning options

The X position box currently offers the following:

X positioning Using Highest setting

X positioning Using Highest setting top (green), Highest Right caron (yellow) and Lowest bottom (blue)

X positioning Using Highest setting with tolerance

The Y position box currently offers the following:

Y positioning options

Add button will add/create the desired anchor in accordance to current option selected in MH. If anchor with the same name already exists, FL will rename the existing anchor with numeric index as suffix (ex. top.1).

Move button will move one or more anchors selected in Anchor Tree in accordance to current option selected in MH. Note that it will not take into consideration on which layer in Anchor Tree the anchor was selected it only takes options of MH. It will only use the name of the anchor!

Rename will rename the selected anchor taking a new name from the name field in accordance to current option selected in MH.

Suffix will add suffix to the names of selected anchor(s) taking the suffix string from the name field. This action i processed as well in accordance to current option selected in MH.

Italic check-box will make all of the above calculations obey the fonts italic angle. For example with given X ‘Highest’ and Y ‘Above’ 30 settings will find where is the projection of that point given the italic angle and place the anchor there.

Panel development notes