OpenType features and FontCreator 7 and PagePlus X5

This morning I tried yet a further learning example.

Here is the transcript.

The transcript is as it was placed in my notes. However, I am posting the transcript using the code feature of the forum system this time as the leading spaces were not being displayed.

The font is attached after the transcript.


9:06 am

Open FontCreator 7.0.0 (build 396)

Open the project Learning_aalt_003.fcp

Save as Learning_aalt_004.fcp

Font Properties… Identification Font Family to become Learning_aalt_004

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

Learning_aalt_004.otf
Yes
Custom Script
KERN and GPOS
Auto Hinting

Add the five alternate glyphs for lowercase g from the Sonnet to a Renaissance Lady font.

Add glyph names of g.1 g.2 g.3 g.4 g.5

Add the five alternate glyphs for lowercase d from the Sonnet to a Renaissance Lady font.

Add glyph names of d.1 d.2 d.3 d.4 d.5

Modify the OpenType code for lookup AccessAllAlternates by adding two lines of code.

In view of the fact that PagePlus X5 numbers from 0, make the first item in the list the same as the original item.
This will mean that the index number of the alternate glyph will match the number of the row that contains it in PagePlus X5.

before:

lookup AccessAllAlternates {
        sub A -> [a.smcp a.pcap];
        sub B -> [b.smcp b.pcap B.swash];
        sub C -> [c.smcp c.pcap];
        # ... etc .. etc ...
      }

after:

lookup AccessAllAlternates {
        sub A -> [a.smcp a.pcap];
        sub B -> [b.smcp b.pcap B.swash];
        sub C -> [c.smcp c.pcap];
        # ... etc .. etc ...
        sub g -> [g g.1 g.2 g.3 g.4 g.5];
        sub d -> [d d.1 d.2 d.3 d.4 d.5];
      }

Compile the code.

Success.

Save Project.

Export the font.

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

Try the font in PagePlus X5


The results were excellent.

Here is a print screen image.


Please click on the image to increase the size of the area displayed.

I note that although I put the g glyphs before the d glyphs in the code, the result in PagePlus X5 has the d glyphs before the g glyphs.

Here is the font.
Learning_aalt_004.otf (21.3 KB)
William