]> git.lyx.org Git - features.git/commit
Implement support for font options
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Jul 2019 18:28:34 +0000 (20:28 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:35 +0000 (15:48 +0200)
commit4dc388b31ab48f2eeda9f32ec900ed11b7712e26
treeccc0d8f6663633213ed5f85a8b53748176a41aa5
parent8043409a706d3c7b593d323f43dae8faceee359a
Implement support for font options

This revives a patch by Uwe and extends it. Additional options to font
packages/fontspec can now be entered in Document Settings.
This is principally also true for TeX fonts, if the new TeXFont tag
MoreOptions is set. For the time being, I have only done this for
MinionPro, as a model and prove of concept.

Note that adding more TeXFonts requires a file format change,
respectively, and changes to tex2lyx (in the same way as I've done for
MinionPro).

This addresses #8226
14 files changed:
development/FORMAT
lib/latexfonts
lib/lyx2lyx/lyx_2_4.py
src/Buffer.cpp
src/BufferParams.cpp
src/BufferParams.h
src/LaTeXFonts.cpp
src/LaTeXFonts.h
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/GuiDocument.h
src/frontends/qt4/ui/FontUi.ui
src/tex2lyx/Preamble.cpp
src/tex2lyx/Preamble.h
src/version.h