commit c3c2815092da1be063f2f67aeb7b97aafd3c2796
Author: Juergen Spitzmueller <[email protected]>
Date: Thu Jul 11 20:28:34 2019 +0200
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
development/FORMAT | 8 +
lib/latexfonts | 4 +
lib/lyx2lyx/lyx_2_4.py | 169 ++++++++++++-
src/Buffer.cpp | 3 +
src/BufferParams.cpp | 57 +++--
src/BufferParams.h | 6 +
src/LaTeXFonts.cpp | 25 ++-
src/LaTeXFonts.h | 8 +-
src/frontends/qt4/GuiDocument.cpp | 62 +++++-
src/frontends/qt4/GuiDocument.h | 2 +
src/frontends/qt4/ui/FontUi.ui | 529 +++++++++++++++++++++----------------
src/tex2lyx/Preamble.cpp | 132 +++++++---
src/tex2lyx/Preamble.h | 3 +
src/version.h | 4 +-
14 files changed, 719 insertions(+), 293 deletions(-)