Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 7 March 2016 at 18:22, Thorsten Behrens <thb@documentfoundation.org> wrote:
You're getting different rounding even depending on the flags your OS
(or driver that happens to be in your process) sets. Seriously - I'm
too lazy to dig out references, but consider floating point math to be
inherently non-similar from one box to the next, *unless* you're
extremely careful across the entire calculation chain (which is the
case in Calc).


While this is an issue for actual math on potentially very large or
very small numbers (which is, I assume, why calc is careful with it),
and an issue for games with large 3D worlds, it can hardly be an issue
for the magnitudes of numbers we deal with in the font rendering
paths.

C.f. chart2.

Even chart2's world-geometry is relatively small in the grander scale
of things. And issues there have far less impact than the glaring font
rendering issues elsewhere.

I'm afraid we're in for that regardless. Norbert, Khaled, Tor IIRC & a
number of other hackers all came to the conclusion that the vcl font
API / the way Writer is doing layout is in serious need for rework,
before any amount of font layouting/rendering happiness can be
attained.

Surely that orthogonal is to the font-rendering down in the VCL layer.
We can fix the one without making the other any worse.
I would assume that attempting to fix both at the same time would be a
boiling-the-ocean type problem, much better to work on them
independently.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.