Ask Your Question
0

How to improve font rendering in Writer?

asked 2019-12-01 16:49:48 +0100

Alectrona gravatar image

image description

As you can see above, Cambria Math render is decent, but any Latex related font - like Latin Modern - is ugly and pixelized on screen until I print it or export it as a PDF.

I enabled OpenGL, which slighty improved the font rendering, but its still meh.

Running LibreOffice Writer 6.2.8 on Windows 10 / Lenovo Thinkpad x240 / 13" LCD screen - 1366*768 / 8 gb ram / i5-4300U @ 1.90 GHz

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-12-02 21:42:51 +0100

LibreTraining gravatar image

updated 2019-12-02 21:48:40 +0100

Unfortunately there is not much you can do.
This issue comes up over-and-over again.
Another recent example: very poor font display quality

Two issues are the problem.

First, a big problem is the lack of precision in calculating the character placement.
It needs to be changed to floating-point calculations for finer character positions.
That is why you see the odd gaps between characters and why they jump around as you zoom-in.
This bug has been in the tracker for many years.

Second, the anti-aliasing appears to be like the old GDI, and not the current DirectWrite.
Your own image shows this.
I zoomed into your image and made screenshots.
Top is Writer - old GDI style horizontal-only, grayscale-only anti-aliasing (like Word 2010).
Bottom is Chrome - DirectWrite style ClearType, full color, horizontal and vertical anti-aliasing (like Word 2016).
ClearType is clearly better looking, especially at smaller font sizes.

image description

This needs to be fixed in LibreOffice.
But since it only affects we lowly Windows users, there does not seem to be much interest in fixing it.

.

edit flag offensive delete link more

Comments

What you wrote is not two, but one problem. The bottom enlarged image shows subpixel rendering - hence the colouring of b&w text. And the subpixel positioning implies using subpixel precision.

And no, that not only affects Windows users. Any platform suffers from that; the relevant bug and its see-also have messages from macOS and Linux users - but of course, the problem disappears on any platform with using hi-dpi displays (hence some messages like "no problem om platform X for me"). It's simply lack of those who dare to change this. Volunteers welcome.

By the way, see also this essay on topic.

Mike Kaganski gravatar imageMike Kaganski ( 2019-12-03 06:39:43 +0100 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2019-12-01 16:49:48 +0100

Seen: 39 times

Last updated: Dec 02