[LyX/master] Adjust debug output for fonts

Richard Kimberly Heck rikiheck at lyx.org
Thu Sep 3 16:47:52 UTC 2020


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.




More information about the lyx-devel mailing list