Open devosb opened 3 years ago
I disabled using SILE for FTML files in https://github.com/silnrsi/smith/commit/cb9cb4347db48d12a3fdef4f4da6794c094b1b6c
I was not able to reproduce the warnings and errors on my Ubuntu Focal system with SILE and smith installed from source, updated today.
sile no longer allows passing string content to a defined command call, one has to wrap it in a table now. Update various deprecated calls to quieten sile's winging. One would expect no break of backward compatibility in a 0.x.y version bump, but I suppose that is too much to ask.
Thanks, after some more testing, it looks good to me.
I only see one error in Mingzat, but maybe it's a syntax issue in the ftml itself:
Loading ftml.sil
</usr/lib/python3/dist-packages/smithlib/classes/ftml.sil>
</smith/font-mingzat/tests/AllChars.ftml>
</smith/font-mingzat/tests/AllCombinations.ftml>
Error detected:
/usr/lib/python3/dist-packages/smithlib/classes/ftml.lua:578: bad argument #1 to 'find' (string expected, got nil)
All the FTML files in the Mingzat project validate with the FTML DTD, so if there is a syntax error, maybe the DTD should be corrected.
Other lua errors in other projects:
Abyssinica /usr/lib/python3/dist-packages/smithlib/classes/ftml.lua:578: bad argument #1 to 'find' (string expected, got nil)
Alkalami /usr/lib/python3/dist-packages/smithlib/classes/ftml.lua:608: attempt to index field 'styles' (a nil value)
Lateef /usr/lib/python3/dist-packages/smithlib/classes/ftml.lua:627: attempt to get length of global 'colinfo' (a nil value)
These other three projects have (at least some) FTML files that do not validate. I suggest that @LornaSIL fix the FTML files before the errors from Lua are investigated.
Good catch, Bobby.
On Fri, Jan 22, 2021, 7:16 AM devosb notifications@github.com wrote:
These other three projects have (at least some) FTML files that do not validate. I suggest that @LornaSIL https://github.com/LornaSIL fix the FTML files before the errors from Lua are investigated.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/silnrsi/smith/issues/60#issuecomment-765429633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUGN7F43Y324A3XITQW6KDS3GCFVANCNFSM4VYIJ6HA .
In mid December 2020 several font projects, such as Doulos are failing to run a test. I think this is due to SILE being enabled to process FTML files while fixing another bug. The log report for this font is
In order to build and test fonts on the CI without errors, I will comment out the line in the commit mentioned above that enables SILE to process FTML.