If you would like to post the source code, you could try copying it onto the clipboard from the FontCreator 7 OpenType Layout Feature Editor window and then paste it into the panel in which you write your posts to this forum.
To preview features in the Font Test window, remember to set the export options to use your Custom Script. Here is one I made earlier using the liga feature instead of rlig.
script latn {
feature StandardLigatures;
}
feature StandardLigatures liga {
lookup StandardLigatures;
}
lookup StandardLigatures {
sub a j -> AJ;
sub b j -> BJ;
sub d j -> DJ;
sub e j -> EJ;
sub i j -> IJ;
sub n j -> NJ;
sub o j -> OJ;
sub p j -> PJ;
sub i a -> IA;
sub i b -> IB;
sub i c -> IC;
sub i d -> ID;
sub i e -> IE;
sub i f -> IF;
sub i g -> IG;
sub i h -> IH;
sub i i -> II;
sub i j -> IJ;
sub i k -> IK;
sub i l -> IL;
sub i m -> IM;
sub i n -> IN;
sub i o -> IO;
sub i p -> IP;
sub i q -> IQ;
sub i r -> IR;
sub i s -> IS;
sub i t -> IT;
sub i u -> IU;
sub i v -> IV;
sub i w -> IW;
sub i x -> IX;
sub i y -> IY;
sub i z -> IZ;
sub l a -> LA;
sub l b -> LB;
sub l c -> LC;
sub l d -> LD;
sub l e -> LE;
sub l f -> LF;
sub l g -> LG;
sub l h -> LH;
sub l i -> LI;
sub l j -> LJ;
sub l k -> LK;
sub l l -> LL;
sub l m -> LM;
sub l n -> LN;
sub l o -> LO;
sub l p -> LP;
sub l q -> LQ;
sub l r -> LR;
sub l s -> LS;
sub l t -> LT;
sub l u -> LU;
sub l v -> LV;
sub l w -> LW;
sub l x -> LX;
sub l y -> LY;
sub l z -> LZ;
sub r a -> RA;
sub r b -> RB;
sub r c -> RC;
sub r d -> RD;
sub r e -> RE;
sub r f -> RF;
sub r g -> RG;
sub r h -> RH;
sub r i -> RI;
sub r j -> RJ;
sub r k -> RK;
sub r l -> RL;
sub r m -> RM;
sub r n -> RN;
sub r o -> RO;
sub r p -> RP;
sub r q -> RQ;
sub r r -> RR;
sub r s -> RS;
sub r t -> RT;
sub r u -> RU;
sub r v -> RV;
sub r w -> RW;
sub r x -> RX;
sub r y -> RY;
sub r z -> RZ;
}
Alternatively, you could zip it up and attach it that way. Plain text is more immediately accessible, of course, but it’s best to click the ‘Code’ button on the message toolbar to distinguish the code from the rest of your message text; this also has the advantage of adding a scrollbar and a ‘Select All’ link to the text area where the code is displayed, as you can see from Bhikkhu Pesala’s latest post.
I have had another look at the font in PagePlus X5.
As far as I can tell, bearing in mind that I am learning both OpenType in FontCreator and OpenType in PagePlus, I can only find the following OpenType features in the font.
clig Contextual Ligatures ~N and ~n
dlig Discretionary Ligatures LA
frac Fractions / 1/2 1/4 3/4
I do not know what is the significance of the / on its own being listed in frac by PagePlus.
I have not found any entries for liga at all.
As a check I then tried my Ligatures 002 test font that is supposed to have only a liga table for da fi and fl ligatures and PagePlus X5 listed those as follows.
liga Standard Ligatures da fi fl
I hope that this helps.
For anyone who also has PagePlus X5, I am finding this information from the following.
Format
Character…
OpenType
Details
It would be helpful if someone with PagePlus X5 or maybe PagePlus X6 could try the Sqwash font in PagePlus and check my results please.
Its really not necessary to install the font, or test it in PagePlus. Users can test the font in the Font Test window while they are developing it.
The problem with this font is that the Default OpenType features have been used, not the custom features.
In the Font Export Settings, you must select the Custom template to use the code that you have so painstakingly written. Since this font has no lowercase, you could have saved some time by copying the lowercase glyphs, and adding their code-points to the uppercase glyphs. Then you wouldn’t have needed the lines: sub A R → AR; etc., just sub a r → AR;
I downloaded a copy of your project file and tried to produce a font.
This was successful.
I noticed that the OpenType code was all for the rlig table.
I compiled the OpenType code with success.
I used the following selection in the Export Settings panel of FontCreator.
Include OpenType Features Custom Script
PagePlus X5 then showed the presence of an rlig table yet not the tables that were found using the font that was available from earlier in this thread.
PagePlus X5 did not treat an rlig as absolutely on. Its use needed to be switched on.
Ahhhh! Thank you so much. Totally forgot about that little export feature. Bhikkhu, next time I do this I will definitely just map the upper/lowercase to each other! I’d already re-written all the code by the time I read your suggestion… =) Thanks again everybody for being so much help!
Well, I only installed it temporarily, which was good as it meant that I could easily test the version that I made from the project file without having to uninstall the original font.
In fact, I was asking if someone could check what I found in PagePlus as I was unsure at the time that I was checking it correctly.
I feel that it is good to test the font in an application made by another company so that the test is independently verified.
Well, I seem to be having problems getting it to work. I accept that I may well not be using the software correctly as I am still learning how to use it.
I just tried the font test window and to my delight the bj ligature was working with the new font, but I then tried an ia and it was not working. I cannot seem to be able to test custom ligatures such as da or ia in the test window.
Thanks for spotting that. I have reported the bug to Serif™
I attach my version of the Sqwash project file so that you can see how it can be done with less code. I have stripped the lowercase subs, and left the uppercase ones, as its more usual to have a font with no lowercase, than no uppercase. Both code-points for “A” (65) and “a”(97) are mapped to uppercase “A”. Sqwash.fcp (43 KB)
Don’t be misled by the “Top Topographer” forum handle — its just means that some users have a certain number of posts.
I am not a complete novice to OpenType features, but I am certainly no expert, and only learnt how to add OpenType features from the Tutorial thread on this forum, in January 2008.
Ok. The font works beautifully in InDesign. It is working neither in Photoshop nor in Illustrator, however. Baffling. But at least it’s working somewhere! Thanks again to everybody for all your input, and to Bhikkhu for taking the time to straighten out my code and mappings. I really have learned a lot!
Could it have anything to do with the direction of the contours? Most (all?) of them are the wrong way around. If it still doesn’t work in PS or Illy after you allow the Font Validation Wizard to fix what it can, try fixing the remaining errors manually and then see whether it fares any better.