diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-08-23 14:22:23 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-08-23 16:59:56 +0200 |
commit | 783f166793915a1c5a008de7142f773ad3898683 (patch) | |
tree | 288eacbc84db0b7bd6563585533a66aa8056fcec /slideshow | |
parent | 31cb5b5538b9fd91dafb067ce961f2540555ad2b (diff) |
tdf#127423: Allow disabling default features in Font Features dialog
In OpenType fonts we have no way if detecting what features are on by
default and what not (short of hard-coding this, since HarfBuzz has no
API of giving us this information, and it is also not a fixed set
per-font, depends also on the text being shaped).
The dialog currently does not differentiate between a disabled feature
and unset feature. To make this distinction, feature value is now signed
and negative value means the feature is unset (i.e. the default is
used), and the checkbox is now a try state one to reflect this.
Change-Id: Iba5d13f02610e7b761677acc19872788c72afde1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138729
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'slideshow')
0 files changed, 0 insertions, 0 deletions