https://bugs.documentfoundation.org/show_bug.cgi?id=162984

--- Comment #13 from ⁨خالد حسني⁩ <[email protected]> ---
I think there would be several issues that need to be tackled with this:

1. It is a breaking change that can cause text to re-flaw, so might need a
compatibility flag.
2. Other office suites will be using fake small caps, so that is another
comparability consideration.
3. Even if the cont has smallcaps feature(s), they might not cover all input
text, so users might get mixed small caps and lowercase letters, while with
fake small caps that does not happen.
4. Case mapping can be non-trivial and locale-dependent, with fake small caps
we use our case mapping code to convert lowercase to uppercase, while when
using smcp feature it is up to the font to do this, which it might or might not
handle correctly. Think of Turkish ıi->Iİ or German ß->SS/ẞ.
  - A solution for this would be to uppercase the text first then apply “c2sc”
feature instead of “smcp” feature, but not all fonts that have “smcp” has
“c2sc”.

Because of these complexities, even typographically oriented applications like
InDesign offer two separate small caps functionalities, one that does fake
small caps like LibreOffice and and OpenType one hidden away in the OpenType
menu.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to