New auxiliary functions to be called by other packages #24
Comments
|
Interestingly, commenting on this issue I just closed, Khaled says that the The |
|
This might have been consistant at a certain time and might be again in the future, but in the situation we are in right now, I think it's definitely better to get them back (maybe not cambria? not sure) in luaotfload. The reason is that Will is not responding and we have no control on unicode-math nor fontspec, so we cannot update luaotfload... If fontspec and unicode-math were depending only on an API of luaotfload and not on the internal structure of otfl-merged.lua, we could make new releases of luaotfload, independant from an update of fontspec or unicode-math... When we'll reach 1.0 version, then code could go outside, but I'm not 100% sure it's relevant either... What do you think? |
|
We should also include name_to_slot(font_id, name) from microtype.lua; it will be less maintainance from Robert, I think he'll be happy with that! |
|
see here #30 |
|
Can we close this? |
|
Affirmative! |
It would be very useful to have auxiliary functions that could be called by other packages. This would be like a "font API", and would prevent updates in luaotfload to break everything in other packages. The useful functions would be:
the functions you can find in fontspec.lua (https://github.com/eroux/fontspec/blob/master/fontspec.dtx#L6668), with quite explicit names:
the function in unicode-math.lua (https://github.com/eroux/unicode-math/blob/master/unicode-math.dtx#L1453)
the function in polyglossia : (https://github.com/eroux/polyglossia/blob/master/lua/polyglossia.lua#L40)
maybe other functions from ConTeXt (from the .lfg files in the fonts/ directory)?
The text was updated successfully, but these errors were encountered: