The include()
works fine. You need to add a semicolon and no quotes:
include(myfeatures.fea);
The include()
works fine. You need to add a semicolon and no quotes:
include(myfeatures.fea);
Thatâs exactly how I got it. Sorry for the confusion, I mistyped it above.
You have the include in the Replace Prefix
? I see. I didnât try this.
No. So to recap and figure it out in small steps I prepared a scenario:
Include Test.zip (2.7 KB)
It is set up like I aim for:
Replace Prefix
CP. The value is Languagesystems; languagesystem DFLT dflt;
â is that correct? Do I need quotes for the part after the first semicolon? The handbook doesnât tell (Hint for the Handbook updates ) â So one problem is: the OT-Feature code comes out in both OTFs, but It is expected only in the one without the Replace Prefix
.
â Another issue is, that this simple setup at least imports the .fea file. But my actual multiscript font still fails every time I have the (exact same) include statement as in this demo file. It just throws the MakeOTF error, telling me nothing else but this: [/Volumes/xyz/Dropbox (Personal]
(Looks like the path is not even properly parsed)
Iâll have a look. Thanks for the test file.
edit: fixed it.
Thank you @GeorgSeifert Iâll wait and check later. Especially why it doesnât work in my actual multiscript file.
I got this to work with build 1084:
â Add separate prefix âIncludesâ
â Move the include statement from the Languagesystems prefix to the Includes prefix.
â In instance âRegular 2â, replace the âReplace Prefixâ parameter with a âRemove Prefixesâ parameter that removes âIncludesâ.
Ah, thatâs nice. Thanks for figuring this out @Norbert ! Makes absolute sense.That saves us a lot of unnecessary overhead
I fixed it already. Should work with the next update.
I canât get this working and I donât know if itâs something I do in the wrong way.
Languagesystems prefix contains Language prefixes + a line with include(myFeature.fea);
For some instances I added a custom parameter âReplace prefixâ with the value:
languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem latn AZE;
languagesystem latn CRT;
languagesystem latn MOL;
languagesystem latn ROM;
languagesystem latn TRK;
languagesystem latn CAT;
include(myFeature2.fea);
Exported instances with the âReplace prefixâ custom parameter also follow the âmyFeature.feaâ code.
Am I doing anything wrong? (tested in stable 2.6 and latest C.E 2.6.1 (1210)
Many thanks for your support
Please check your parameter. It has to be Replace Prefix
(with an uppercase P)
Sorry, I mistyped, yes itâs âReplace Prefixâ (selected from the drop menu)
Even in the âReplace Prefixâ include code points to a non existing .fea file, it compiles the font without any complain.
thanks
I just tried this and it worked. You custom parameter needs to include the name of the prefix you like to replace:
Languagesystems;
languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem latn AZE;
languagesystem latn CRT;
languagesystem latn MOL;
languagesystem latn ROM;
languagesystem latn TRK;
languagesystem latn CAT;
include(myFeature2.fea);
Will try, thanks!
(added):
It works. thanks again!