-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wishlist: configure underline behavior wrt descenders #9
Comments
This is unlikely to be implemented. Basically there are multiple issues which make this somewhat out of scope:
So I don't think that there is a reasonable way to implement this in a sufficiently stable and reliable way to fit into lua-ul and therefore should be implemented as separate functionality for now. |
I was sort of expecting something like that. Is there anything, at least wrt "modern" fonts (OTF) that could allow this to be done at the glyph drawing level? Namely, is there any concept of an "underlined" char that could be used? |
No. OpenType fonts contain a suggested height and width for the underline (inherited from Type 1 fonts actually), but that's it. There is a specified flag to mark a font as underlined (for separate underlined fonts), but I'm not aware of any font actually having a separate underlined version. |
I wonder if it could be possible to make the package also support underlining at a tighter distance from the baseline omitting the descenders. The stackexchange discussion at https://tex.stackexchange.com/questions/36894/underline-omitting-the-descenders considers it using
soul
orulem
.The text was updated successfully, but these errors were encountered: