commit 26ea1e14966c092a7b87c75c19b83a369e79aeb8
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Apr 22 19:06:46 2018 +0200

    Align fontenc with document fonts
    
    Following a request by Günter, we consider the document fonts (only rm
    for now) when selecting an appropriate font encoding.
    
    See #9741
    
    The new default font encoding setting "auto" does
    
    * consider the font encoding needed by the language(s), which can now
      have fallback alternatives
    * Consider which font encoding is provided by the document font
    
    Thus, cm now will result in OT1 fontenc, if the language can deal with
    that.
    
    The font_enc pref is ditched: it is no longer needed.
    
    The automatism is still very basic and is subject to extension.
    
    File format and prefs format change.

 development/FORMAT                  |    6 ++-
 lib/RELEASE-NOTES                   |    4 +
 lib/configure.py                    |   21 ++----
 lib/doc/UserGuide.lyx               |   69 ++++++++++++++++++--
 lib/languages                       |  102 +++++++++++++++++++++++++---
 lib/latexfonts                      |    5 ++
 lib/lyx2lyx/lyx_2_4.py              |   24 ++++++-
 lib/scripts/prefs2prefs_prefs.py    |   11 +++-
 src/BufferParams.cpp                |   21 +++---
 src/LaTeXFeatures.cpp               |    7 +-
 src/LaTeXFonts.cpp                  |   21 ++++++
 src/LaTeXFonts.h                    |    6 ++
 src/Language.cpp                    |   42 +++++++++++-
 src/Language.h                      |    9 ++-
 src/LyXRC.cpp                       |   22 +------
 src/LyXRC.h                         |    3 -
 src/Paragraph.cpp                   |   36 ++++++----
 src/frontends/qt4/GuiDocument.cpp   |  126 ++++++++++++++++++----------------
 src/frontends/qt4/GuiPrefs.cpp      |   23 ------
 src/frontends/qt4/GuiPrefs.h        |    1 -
 src/frontends/qt4/ui/PrefLatexUi.ui |   23 +------
 src/insets/InsetQuotes.cpp          |    2 +-
 src/tex2lyx/Preamble.cpp            |    5 --
 src/version.h                       |    4 +-
 24 files changed, 393 insertions(+), 200 deletions(-)

Reply via email to