[LyX/master] Adjust debug output for fonts

Richard Kimberly Heck rikiheck at lyx.org
Thu Sep 3 19:54:58 UTC 2020


On 9/3/20 3:01 PM, Enrico Forestieri wrote:
> On Thu, Sep 03, 2020 at 12:47:52PM -0400, Richard Kimberly Heck wrote:
>> On 9/3/20 4:55 AM, Enrico Forestieri wrote:
>>> On Tue, Sep 01, 2020 at 11:54:46AM +0200, Enrico Forestieri wrote:
>>>> commit 8039b34802c9e08809c02bb3682ac50439d97951
>>>> Author: Enrico Forestieri <forenr at lyx.org>
>>>> Date:   Tue Sep 1 12:12:55 2020 +0200
>>>>
>>>>     Adjust debug output for fonts
>>>>     
>>>>     This restores the debug output as it was intended before the
>>>>     introduction of the LYXERR macro that was unconditionally outputing
>>>>     an end of line. This is how this output was appearing until lyx 1.5:
>>>>     
>>>>     Looking for font family cmr10 ... got: cmr10
>>>>      got it normal!
>>>>     
>>>>     instead of as it was since lyx 1.6 and until now:
>>>>     
>>>>     Looking for font family cmr10 ...
>>>>     got: cmr10
>>>>      got it
>>>>     normal!
>>>> ---
>>>>  src/frontends/qt/GuiFontLoader.cpp |   22 +++++++++++-----------
>>>>  src/support/debug.h                |   12 ++++++++++++
>>>>  2 files changed, 23 insertions(+), 11 deletions(-)
>>> Riki, what about backporting this? It's risk free
>> OK.
> Done at 82b3a26a.
>
> I would also like to backport the changes to the autocorrect file made
> at 9bf8c873, 3b1ee921, 16d87a61, and 1df3151b. These are collected in
> the attached patch.
>
> This only touches the autocorrect file and is zero-risk. One feature
> brought by this change that I like is that, after activating autocorrect,
> you can type a delimiter and then '*' repeteadly to change its size.

OK.

Riki




More information about the lyx-devel mailing list