Skip to content
This repository has been archived by the owner. It is now read-only.

Warning message for some scripts? #31

Closed
eroux opened this issue May 2, 2013 · 9 comments
Closed

Warning message for some scripts? #31

eroux opened this issue May 2, 2013 · 9 comments

Comments

@eroux
Copy link
Member

@eroux eroux commented May 2, 2013

Some scripts are not really well supported by luaotfload (devanagari for instance), or by LaTeX packages (RTL languages), maybe luaotfload should output a warning when called with such scripts?

I was first thinking to put it in polyglossia, but the best place seems to be luaotfload, what do you think?

@khaledhosny
Copy link

@khaledhosny khaledhosny commented May 2, 2013

As far as luaotfload is concerned, there shouldn’t be any specific issues with RTL, so I see no reason why luaotfload should concern itself about other packages (the said packages should be the one issuing the warning). For Indic scripts, there have at least been some work on Devanagari quite recently, so someone have to check it (and whether luaotfload has the needed files at all).

@eroux
Copy link
Member Author

@eroux eroux commented May 2, 2013

You're right about RTL, let's not issue a warning about it. Maybe the question about devanagari should be raised to Hans? I think most languages classed as "indic" should work though, I have the example of tibetan in mind...

@phi-gamma
Copy link
Member

@phi-gamma phi-gamma commented May 2, 2013

@khaledhosny are you referring to font-odv.lua? It’s been around since january. I checked and it appears to load with luaotfload, but Hans hasn’t included it into the merge file. We could include it for testing, maybe make it optional, but I have no idea how to test it.

@khaledhosny
Copy link

@khaledhosny khaledhosny commented May 2, 2013

I’m not sure which file, there was a code contributed but someone, that Hans has since rewrote. Nor do I know how to test it.

@eroux
Copy link
Member Author

@eroux eroux commented May 4, 2013

For what I understand, maybe issuing just a warning for devanagari (not other Indic scripts) would be enough? What do you think?

@phi-gamma
Copy link
Member

@phi-gamma phi-gamma commented May 4, 2013

Where exactly do you think the warning would fit? When the user enables the devanagari feature set? How sure are you about those other Indic scripts?

@eroux
Copy link
Member Author

@eroux eroux commented May 5, 2013

As you say, it would fit best when, in a specification, we have the script deva or a script enabling the same features...

To be honest, I'm not sure about other indic scripts... but as I know Tibetan is working, I guess Khmer too, and I believe Thai too, so maybe it would be safe to output a warning for the scripts deva, beng, guru, gujr, orya, taml, telu, knda, mlym and sinh... what do you think?

@phi-gamma
Copy link
Member

@phi-gamma phi-gamma commented May 5, 2013

So when a user loads a font like this:

\font\mydeva=file:some-devanagari-font.ttf:mode=node;script=deva; at 12pt

this should trigger the warning? Or maybe if they try to add the devanagari feature set?

\font\mydeva=file:some-devanagari-font.ttf:mode=node;+devanagari; at 12pt

@phi-gamma
Copy link
Member

@phi-gamma phi-gamma commented May 5, 2013

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants