adobe-fonts / source-serif

Typeface for setting text in many sizes, weights, and languages. Designed to complement Source Sans.
https://adobe-fonts.github.io/source-serif
SIL Open Font License 1.1
2.17k stars 163 forks source link

Rendering bug with LibreOffice #62

Closed JNord03 closed 5 years ago

JNord03 commented 5 years ago

I'm using Windows 10 64X, LibreOffice 6.2.4.2 and Source Serif Pro 3.0 otf.

When I enter text, I get a very weird rendering with OpenGL turned off (as my laptop's video card seems to be on the OpenGL "blacklist" which stops OpenGL from rendering LibreOffice on specific video cards). This for good reason: the letters appear really unclean when I override this blacklisting through the options. a b On the other hand, with OpenGL turned off, the rendering becomes a true eyesore when zoomed out (equivalent to smaller font sizes). Notice the thin lines and the crooked upper part of the t letters. c Zoomed in (same effect as a larger font size), as opposed to before, it all looks fine. d The older font version (2.0.7 or so) included in LO by standard, though, works fine when rendered without OpenGL. Anti-aliasing is turned on for all of the examples.

Could anyone think of what it is that causes this problem to occur?

frankrolf commented 5 years ago

It might be worth trying the TTF files here – however I am not convinced I can help much in this situation.

JNord03 commented 5 years ago

I've posted the issue in the German LibreOffice forum. Anyway, the ligatures and Old Sytle Figures are quite important to me, so I'd rather not use the ttf.

frankrolf commented 5 years ago

All OT features (such as old style figures and ligatures) are available both in TTF and OTF font files. There is no functional difference between the OTF and TTF versions except the outline format.

JNord03 commented 5 years ago

I would've bet any sum against it, but this actually worked. The look is totally clean now with OpenGL turned off - thank you once more. I know basically nothing about the difference between the two formats, but isn't it strange that one causes so much trouble and the other doesn't, even though other otf fonts work fine?

frankrolf commented 5 years ago

Glad to hear it! It might be strange, but such are the ways of rasterizers. Especially in an office environment, TTFs sometimes are the better choice.

JNord03 commented 5 years ago

Let me ask one last questions: In which case would the use of otf files be favorable?

frankrolf commented 5 years ago

In my opinion, cubic curves (the ones used in CFF-flavored font formats such as OTF) are favorable in the following scenarios:

In short: it’s good to have two options.