On 2019-07-18, Kornel Benko wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Donnerstag, 18. Juli 2019, 09:55:16 CEST schrieb Jürgen Spitzmüller:
>> Am Donnerstag, den 18.07.2019, 08:58 +0200 schrieb Kornel Benko:
>> > Following scenario:
>> > 
>> > 1.) create a new document with lyx2.4
>> > 2.) add _any_ font (IBMplex, Chivo, Noto, Dejavu) with tex fonts
>> > 3.) export to 2.3.x
>> > 4.) read the exported with lyx2.3
>> > 5.) change fonts to 'non tex'
>> > 6.) save
>> > 7.) read the result with lyx2.4
>> > 8.) change font to 'tex'
>> > 9.) --> latex preamble is wrong
>> > 
>> > That means, checking for "\\use_non_tex_fonts false" is wrong in all
>> > convert_*Fonts() and revert_*Fonts()

What we should do, is reset *new* tex font settings to "default" in any case
and add the preamble substitution code only if use_non_tex_fonts is "false".


Günter


Reply via email to