]> git.lyx.org Git - features.git/commit
Align fontenc with document fonts
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Apr 2018 17:06:46 +0000 (19:06 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Apr 2018 17:06:46 +0000 (19:06 +0200)
commit26ea1e14966c092a7b87c75c19b83a369e79aeb8
treeef2cb22a67dc7063a2909a7bc1dce1940f9c0eb2
parent337ec5830a041ec1f6a149bf1a93f59da766e930
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.
24 files changed:
development/FORMAT
lib/RELEASE-NOTES
lib/configure.py
lib/doc/UserGuide.lyx
lib/languages
lib/latexfonts
lib/lyx2lyx/lyx_2_4.py
lib/scripts/prefs2prefs_prefs.py
src/BufferParams.cpp
src/LaTeXFeatures.cpp
src/LaTeXFonts.cpp
src/LaTeXFonts.h
src/Language.cpp
src/Language.h
src/LyXRC.cpp
src/LyXRC.h
src/Paragraph.cpp
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiPrefs.h
src/frontends/qt4/ui/PrefLatexUi.ui
src/insets/InsetQuotes.cpp
src/tex2lyx/Preamble.cpp
src/version.h