-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Bug] Doesn’t Work Properly in LaTeX With multicols
and babel
#149
Comments
Actually, it also happens with Junicode Two Beta, but not Junicode. Weird. I don’t know what’s causing this problem, the fonts themselves, or a LaTeX package. |
I can reproduce it. But only with RTL fonts in the second column. It’s weird, but I have no idea why. As far as I understand things, this macrotypographic effect shouldn’t be provoqued by the font. The only things I can think of where the features of the font influence the typeset lines are the settings for vertical metrics and the opbd opentype feature. I don’t think that EBG’s vertical metrics are too special but the opbd features (lfbd and rtbd) which allow for setting character protrusion from within the font (as in the microtype package) are not at all commonly found in fonts. Junicode Two Beta however doesn’t have this feature. I’m clueless. |
That is highly unlikely to be a font issue. You might get a better answer asking on https://tex.stackexchange.com. |
Okay, I posted a question on https://tex.stackexchange.com. |
OK, thanks! I’ll close this issue. Please, feel free to reopen it if some bug of the font is found to be involved. |
not sure if this is helpful in this case, but when
|
code to reproduce:
|
Thanks for calling my attention on this. What you see is because protrusion setting in microtype for EB Garamond references glyphs that aren’t available in the font you’re using. That’s because the default installation uses Octavio Pardo’s variant (i.e. the Google Fonts one). For easier compatibility with their tools he changed some of the glyph names and for other reasons he dropped some of the glyphs and features. Obviously not all of them were catched when microtype was updated for that font version. When I compile your code here, microtype complains about the figure glyphs missing, as the fonts from this repository use a different naming scheme. My plan is to merge the two versions during the months to come and re-add the dropped features and glyphs, so this message should go away, eventually. |
@georgd That sounds like music in my ears. I have patiently been waiting for years to hear that, and I can wait years more if needed. EB Garamond is still my go-to font for personal documents. I really appreciate all the time and effort that all of you are putting into this font! |
I noticed a bug in LaTeX that happens with only this font, but no other font that I've tried. If you try to use
babel
andmulticols
together, and add a paragraph end before\end{otherlanguage}
, only the last page of the document will be properly compiled. The other pages will look like the text has been pushed far to the left. The reason I want to put a paragraph end before\end{otherlanguage}
is to work around another bug I found in thelinebreaker
LaTeX package. I will provide a minimum working example along with screenshots.If you replace
EB Garamond
with any other font, such asLibertinus Serif
, you will get the expected result.The text was updated successfully, but these errors were encountered: