]> git.lyx.org Git - features.git/commit
unicodesymbols: add general way to require a feature only for specific encodings
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 28 Apr 2018 11:31:29 +0000 (13:31 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 28 Apr 2018 11:31:29 +0000 (13:31 +0200)
commit0b2fae66e32bb626611e7ce055c2cd8f41d6e151
treee841b3104ba6206f368be7415ae62748377e743a
parent5b160e82be3797ae57632174f2510a132a7558a1
unicodesymbols: add general way to require a feature only for specific encodings

A feature can now be required only for specific input or font encodings:
- <feature>=enc1;enc2...  Require the feature <feature> only if the
                          character is used in one if the specified font
                          or input encodings.
- <feature>!=enc1;enc2... Require the feature <feature> only if the
                          character is used in a font or input encoding
                          that is not among the specified.
lib/unicodesymbols
src/BufferEncodings.cpp
src/Encoding.cpp
src/LaTeXFeatures.cpp
src/Paragraph.cpp