Le 07/05/2019 à 10:46, Jean-Marc Lasgouttes a écrit :
commit 12fcaf86528fff162c6edb81fe36aa9c1dcae38a
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Tue May 7 10:47:49 2019 +0200
Compute metrics of *TeX* logos using draw and a null painter
Instead of writing a metrics() method that mimics what draw() does,
re-use the draw code with a null painter.
This has the additional benefit of fixing InsetSpecialChar logo width
with EB Garamond. I have to admit that I do not know why it was too
large with the old code, but the new code is shorter/better anyway.
What annoys me is that the metrics mismatch does not appear in 2.3.x and
I do not see what is the code that changed in between. But I trust that
the new code is better than the old one.
JMarc