Feature syntax issues

Hello!!
We’re two girls tryn’ to finish an exam…
From what we understand the issues should be related to the features and syntax.
Here’s the output window…

And that’s the part of the features:
languagesystem DFLT dflt;
languagesystem latn dflt;

feature liga{

 [sub A r i by Aries];
[sub T a u by Taurus];
[sub G e m by Gemini];
[sub C a n by Cancer];
[sub L e o by Leo];
[sub V i r by Virgo];
[sub L i b by Libra];
[sub S c o by Scorpio];
[sub S a g by Sagittarius];
[sub C a p by Capricornus];
[sub A q u by Aquarius];
[sub P i s by Pisces];


#Features_costellazioni
[sub A r i s by Ariess];
[sub A r i s s by Ariesss];    
[sub T a u s by Tauruss];
[sub T a u s s by Taurusss];
[sub G e m s by Geminii];
[sub G e m s s by Geminiii];
[sub C a n s by Cancerr];
[sub C a n s s by Cancerrr];
[sub L e o s by Leoo];
[sub L e o s s by Leooo];
[sub V i r s by Virgoo];
[sub V i r s s by Virgooo];
[sub L i b s by Libraa];
[sub L i b s s by Libraaa];
[sub S c o s by Scorpioo];
[sub S c o s s by Scorpiooo];
[sub S a g s by Sagittariuss];
[sub S a g s s by Sagittariusss];
[sub C a p s by Capricornuss];
[sub C a p s s by Capricornusss];
[sub A q u s by Aquariuss];
[sub A q u s s by Aquariusss];
[sub P i s s by Piscess];
[sub P i s s s by Piscesss];

}liga;

This problem doesn’t allow the program to generate the font :frowning:
Can anyone help us? Thanks sosososo much!!!
-Michelle

You put the substitution rules in square brackets [], but these are reserved for class definitions.
Remove the brackets and it should be fine.

NB Glyphs can autogenerate the code for you if you rename your glyphs accordingly. E.g., for turning A q u s s into a ligature glyph, you can simply rename Aquariusss to A_q_u_s_s or A_q_u_s_s.liga. Then, the feature dlig or liga can be created automatically.

Unfortunately it continues to give the same syntax problems.
and if I remove square brackets, the program don’t recognize the glyphs… :frowning:

The sintaxis is
sub A r i s by Ariess;

Paste this in liga:

sub A r i s s by Ariesss;
sub T a u s s by Taurusss;
sub G e m s s by Geminiii;
sub C a n s s by Cancerrr;
sub L e o s s by Leooo;
sub V i r s s by Virgooo;
sub L i b s s by Libraaa;
sub S c o s s by Scorpiooo;
sub S a g s s by Sagittariusss;
sub C a p s s by Capricornusss;
sub A q u s s by Aquariusss;
sub P i s s s by Piscesss;
sub A r i s by Ariess;
sub T a u s by Tauruss;
sub G e m s by Geminii;
sub C a n s by Cancerr;
sub L e o s by Leoo;
sub V i r s by Virgoo;
sub L i b s by Libraa;
sub S c o s by Scorpioo;
sub S a g s by Sagittariuss;
sub C a p s by Capricornuss;
sub A q u s by Aquariuss;
sub P i s s by Piscess;
sub A r i by Aries;
sub T a u by Taurus;
sub G e m by Gemini;
sub C a n by Cancer;
sub L e o by Leo;
sub V i r by Virgo;
sub L i b by Libra;
sub S c o by Scorpio;
sub S a g by Sagittarius;
sub C a p by Capricornus;
sub A q u by Aquarius;
sub P i s by Pisces;

Make sure these glyphs actually are in your font:

Ariesss Taurusss Geminiii Cancerrr Leooo Virgooo Libraaa Scorpiooo Sagittariusss Capricornusss Aquariusss Piscesss Ariess Tauruss Geminii Cancerr Leoo Virgoo Libraa Scorpioo Sagittariuss Capricornuss Aquariuss Piscess Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius Capricornus Aquarius Pisces 

I write your formula but in this way: sub < A r i s s > by Ariesss;

Now the output window says this:

makeotf Report

makeotf [Note] Converting source font ‘/font.otf’ to temporary Unix Type1 font file ‘/font.otf.tmp’.
makeotf [Note] setting the DONT_USE_WIN_LINE_METRICS OS/2 fsSelection bit 7 from fontinfo keyword.
makeotf [Note] setting the WEIGHT_WIDTH_SLOPE_ONLY OS/2 fsSelection bit 8 from fontinfo keyword.
makeotf [Note] setting the OBLIQUE OS/2 fsSelection bit 9 from fontinfo keyword.
makeotf [Note] Writing options file /current.fpr
makeotf [Note] Running makeotfexe with commands:
cd ""
makeotfexe -f font.otf.tmp -o AstroFont copia.otf -ff features -gf glyphOrder -mf menuname -ga -osv 4 -osbOn 7 -osbOn 8 -osbOn 9
syntax error at “<” missing { GCLASS CID GNAME “[” } [features 6]
makeotfexe [FATAL] aborting because of errors

makeotf [Error] Failed to build output font file ‘AstroFont copia.otf’.

If i don’t put “< >” the program says this:
makeotfexe -f font.otf.tmp -o AstroFont copia.otf -ff features -gf glyphOrder -mf menuname -ga -osv 4 -osbOn 7 -osbOn 8 -osbOn 9
makeotfexe [ERROR] Glyph “A” not in font [features 6]
makeotfexe [ERROR] Glyph “r” not in font [features 6]
makeotfexe [ERROR] Glyph “i” not in font [features 6]
makeotfexe [ERROR] Glyph “s” not in font [features 6]
makeotfexe [ERROR] Glyph “s” not in font [features 6]
makeotfexe [ERROR] Glyph “T” not in font [features 7]
makeotfexe [ERROR] Glyph “a” not in font [features 7]
makeotfexe [ERROR] Glyph “u” not in font [features 7]
makeotfexe [ERROR] Glyph “s” not in font [features 7]
makeotfexe [ERROR] Glyph “s” not in font [features 7]
etc.

You need to have the letters, that are mentioned in the substitutions, in the font.