Bug 154614 - OpenType features in Writer not working on foreign scripts
Summary: OpenType features in Writer not working on foreign scripts
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts
  Show dependency treegraph
 
Reported: 2023-04-05 02:21 UTC by Dealey Maples
Modified: 2024-09-27 18:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of text in a foreign script, as it appears before and after applying OpenType features. (6.75 KB, image/png)
2023-04-05 02:24 UTC, Dealey Maples
Details
The Font Features window, showing the preview that is noticeably different from the text in the document. (27.63 KB, image/png)
2023-04-05 02:25 UTC, Dealey Maples
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dealey Maples 2023-04-05 02:21:49 UTC
Description:
In Writer, OpenType fonts (I have tried Antinoou, Scheherazade New and Amiri, and Shippori Mincho) on foreign scripts (Coptic, Arabic, and Japanese kana respectively) cannot have their OpenType features applied to any text. The Font Features window shows the correct modifications to the highlighted text in its preview, but these changes are not made to the text. I have observed this consistently across a few recent versions of LibreOffice, and in all cases OpenType fonts have worked fine of Latin, Greek, and Cyrillic text.

Steps to Reproduce:
1. Add text in an affected script to the document
2. Set the text in an OpenType font meant for that script
3. Highlight the text and edit its OpenType features under Character/Font Features

Actual Results:
Though the preview in the Font Features window shows the features applied, the text in the document is unaffected.

Expected Results:
The text in the document should match the preview in the Font Features window.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 Dealey Maples 2023-04-05 02:24:33 UTC
Created attachment 186477 [details]
Example of text in a foreign script, as it appears before and after applying OpenType features.
Comment 2 Dealey Maples 2023-04-05 02:25:23 UTC
Created attachment 186478 [details]
The Font Features window, showing the preview that is noticeably different from the text in the document.
Comment 3 ⁨خالد حسني⁩ 2023-04-05 11:42:26 UTC
Do you have Complex text and Asian text support enabled? If so, you should have three font selection widgets and tou have to enable the font features in the three. If not, you have to enable them.
Comment 4 Dealey Maples 2023-04-05 22:31:45 UTC
Uhm, how do you do that?

Yeah, sorry if this isn't a bug. I'm new to this. I asked this question over on Ask.LibreOffice, and someone said I should report it as a bug.

Would you be so kind as to explain these features you've mentioned in some more detail?

Thank you!
Comment 5 ⁨خالد حسني⁩ 2023-04-06 03:34:57 UTC
Go to Tools - Options - Language Settings - Languages and enable both CTL and Asian options.

It might still be a bug, I havn’t cheacked how the font settings work when CTL and Asian support is disabled.
Comment 6 Dealey Maples 2023-04-06 22:31:21 UTC
Thanks, it worked!
Comment 7 ⁨خالد حسني⁩ 2023-04-07 02:51:45 UTC
I confirm the original issue and I think it is a bug.

When CTL and Asian font widgets are hidden, the Western font widget does not change Asian a CTL fonts (I think there are already bug reports about this), and similarly font features dialog is only applied to Western font.
Comment 8 Buovjaga 2024-09-27 18:01:56 UTC
The steps are not clear for non-native speakers or non-experts. Please give exact text snippets that we can copy and tell which exact font to use and which features to toggle.