OpenType features and FontCreator 7 and PagePlus X5

Thank you to León Fridsma for the code examples.

Here is a transcript of my notes as I applied the first example in making a font.

The font is attached after the transcript.


Thursday 13 June 2013

11:31 am

Try to produce two example fonts to learn from the examples in the post by León Fridsma.

That post is referenced as follows.

The first example.


script latn {
feature AccessAllAlternates;
feature SmallCapitals;
}

feature AccessAllAlternates aalt {
lookup SmallCapitals;
}

feature SmallCapitals smcp {
lookup SmallCapitals;
}

lookup SmallCapitals {
sub A → a.smcp;
sub B → b.smcp;
sub C → c.smcp;
#… etc .. etc …
}


Using FontCreator 7.0.0 (build 396).

Open the Ligatures_006.otf font.

The font can be obtained from the following post if anyone wishes to try repeating what I am doing here.

Save as a project named Learning_aalt_001

Remove the last seven glyphs in the font to avoid the possibility of causing needless confusion in this learning example.

Using a copy of the Ligatures_006.otf font to start is just for convenience so as not to have to build a font from a new empty font.

Delete the code that is in the panel in the OpenType Layout Feature Editor.

Add in the code from the first code panel of León’s post.

I am not trying to compile the code at present as the three new glyphs have not been prepared at this time. Save the code for use later.

Set Grid Options to 128 16 Light Orange Solid.

Set Metrics Options to Blue Solid

Font Properties… Identification Font Family to become Learning_aalt_001

File Export Font Export Settings, left column to become as follows.

Learning_aalt_001.otf
Yes
Custom Script
KERN and GPOS
Auto Hinting

In order to use the code I need to add glyphs for a.smcp, b.smcp and c.smcp to the font.

Add three emply cells at the end of the font and construct glyphs for a.smcp, b.smcp and c.smcp from copies of A, B, C.

Bearing in mind that lowercase o has a height of 896 font units in this font and that petite capitals as well as small capitals are needed for a later experiment, make the height of the small capitals to be 1152 font units. This means reducing overall height by 256 font units and the centre bar of A and B by 128 font units. Keep the widths the same. This may not be the best way to design small capitals but here I am just producing some glyphs to illustrate the learning experience.

Compile the OpenType code.

Redate the font for today using Font Properties Identification

Save Project.

Export the font as an OpenType font.

Temporarily install the font from Windows Explorer by double clicking on the name of the font.

Try the font in PagePlus X5.

It looks good.


Here is the font.
Learning_aalt_001.otf (19.3 KB)
William