Volt Compilation Failed

jnbaluch's picture

Dear All
I am making a Nastaleeq urdu fully ligature based font and I have dont almost half of ligatues in GSUB lookups and compiled and test are working fine but know I am adding some more ligatures lookups and when I am compiling it it gives message that COMPILATION FAILED and I have check my lookup every thing is look fine and correct tome
what can be the possible reason becuse the volt does not give the full details that why compilation is faild what is the reason?
Thanks
Best Regards
JNBALUCH

John Hudson's picture

Go to VOLT Options (Tools menu) and turn on the option 'Use extension lookups'. When lookups exceed a certain size, you need to turn on extension lookups.

If this doesn't solve the problem, that would indicate a problem within your lookups, but VOLT normally identifies most common problems.

behnam's picture

I have a question. Sorry it's off topic but I didn't want to create a new topic for this.
Can VOLT be installed on Windows 7 without any problem? The material I found in Microsoft site was somewhat outdated.

david h's picture

> Can VOLT be installed on Windows 7 without any problem?

No problem at all.

behnam's picture

Thanks David. And sorry again.

jnbaluch's picture

Thank John for your valuable comments
Dear John I have one more question do we have any limitation that how many GSUB lookup tables can be use in each font or we can make as much GSUB lookup tables as much we need to build our font
and 2nd question is in each GSUB Lookup table how many ligatures entries we can put do we have any limitation or we can add as much as we need
this answer will really sort out my problem
I am still confused whether the errors I am getting this is becuase I have more GSUB Tables in my font
or this error is becasue I have more entries in each GSUB Lookup
your early reply will be highly appreciated
Thanks
jnbaluch

jnbaluch's picture

John
Thanks very much when I have turn on the extension lookup and know there is no compilation error message and the work is going on fine. great May god bless you
Thanks once agains for this great help

I have one more question as I told you before I am making a Urdu Nastaleeq font where I am using approx 25000 ligatues
I have done Init, medi and fina lookup and ligatues lookups are also there but when I compile the font and test it all initial medial and final letters work fine wherever the ligatures are there they dont appear as ligature, but when I remove the init, medi and fina feature and keep only liga feature and test only ligaturs are comes fine
I want in font the ligature should have first priority to appears and when for the particular word the ligature is not availabe then only the init medi and fina should work
how to do this
do I am doing a wrong positioning of lookup and I know the order of look in lookup list is very important
but I tried to keep init on top and medi and fina after liga lookups and viseversa but both the way ligatures dont come if init medi final are there
waiting for your kind reply
Thanks
Best Regards
jnbaluch

John Hudson's picture

OpenType Arabic script layout engines will apply the init, medi and fina (and isol, if present in the font) before they apply the ligature features. This means that the input glyph sequences in your ligature lookups need to be the init, medi etc. forms. So e.g. (using the glyph name convention I use in my Arabic projects):

aLam.init aAlif.fina -> aLam_aAlif
aLam.medi aAlif.fina -> aLam_aAlif.fina

rather than

aLam aAlif -> aLam_aAlif

aLam_aAlif -> aLam_aAlif.fina

John Hudson's picture

Regarding your other question, on the number of ligatures per lookup, I'm afraid I don't know the answer. There certainly would be a limit, but I'm not sure whether simply invoking the extension mechanism resolves this.

Have you considered splitting your ligatures into a small set of contextual variant glyphs and strokes and combining them dynamically using the curs (cursive attachment) feature? This seems to me much more efficient and flexible than creating 25,000 ligatures.

jnbaluch's picture

Thank John for your valuable comments and reply
as you said the arabic script layout engine read the init, medi and final first and then ligatures, I also want it should read the init, medi and fina firt to create the word but once that word match the ligature it should jump and show the ligatue instead of init, medi and fina word,
and normally all arabic and urdu font do so,
what should I do in glyph naming or GSUB naming or their sequences fo get the desire rusult
and the way which you explain in your reply I did not understand
is it possible please explain it little more details
thanks
Best Regards

John Hudson's picture

The input sequences for the ligature substitutions, that is the list of letter form glyphs that become the ligature, must be the init, medi and fina forms, because these are the forms that will exist in the glyph string after the processing of those features and before the processing of the ligature feature. Whatever you have called the init form of letters, the medi form of letters and the fina form of letters, these are the names that you need to use, in the appropriate order, as input for your ligature substitutions. So, for example, you might have called your init glyphs *.init, where * is the name of the default letter glyph, e.g. lam, so: lam.init, lam.medi and lam.fina. So the input sequence for an isolated lam+yeh ligature would be lam.init yeh.fina, while the sequence for a lam+yeh ligature in a final posision would be lam.medi yeh.fina.

If you name your ligature glyphs so that they represent the input glyph sequence, e.g. calling a ligature glyph lam.init_yeh.fina, then it is very easy to create the lookups.

saleem Ali's picture

good information for nastaleeq font by John Hudson

saleem Ali's picture

@John,
Go to VOLT Options (Tools menu) and turn on the option 'Use extension lookups'. When lookups exceed a certain size, you need to turn on extension lookups.

If this doesn't solve the problem, that would indicate a problem within your lookups, but VOLT normally identifies most common problems.

But My font have different situation all above mention (Tools menu) and turn on the option 'Use extension lookups'. use that my font compiler issue. any other reason you have.

My Volt file is not Compile when insert new ligatures for nuqta placing i use add positioning in anchor attachment this file, put on My Group name is R_Liga-1, R_Liga-2,R_Liga-3,R_Liga-4,R_Liga-5 and R_Liga-6 every group contain 250 and above glyph problem is when i insert R_liga6 file is not compile message i am very afraid lot of work in volt file weight 3mb i several time change anchor name i try tool option use extension look up and other way but file is not compile message. Nuqtas_All_Ligatures up and down but its not compile.

If you are willing my fonts for investigation, John or Sergey thats solve these problems i thankful you whole life. I am waiting your kindness and humbleness.

Syndicate content Syndicate content