Description: Microsoft Office have already provided a function to enable optional smartfont features for OOXML format files since 2010, but LibreOffice have no entry to make it available when opening these files. Since LibreOffice implemented toggling OpenType feature, there is a way to get the solution for OOXML format. Steps to Reproduce: - Actual Results: - Expected Results: As my proposal, if an OOXML document have some texts defined its font feature via M$ Office, LibreOffice can making them available on screen, use its own syntex to toggle it after opening the file, and let them available on M$ Office. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Sounds reasonable -> NEW
With this improve we can also improve our compatibility to OOXML format.
Created attachment 134722 [details] Test file This is a test file produced by MS Office 2010. This file used Paratino Linotype font, many font features except style set included in this file.
Created attachment 134829 [details] Test file 2 This file including stylistic set related attribute
See documentations at Microsoft website: https://support.microsoft.com/en-us/office/what-s-new-in-word-2010-4e27dcda-1deb-44cc-af0d-dd5a7f7d84bd https://support.microsoft.com/en-us/office/opentype-options-in-the-font-dialog-box-1033d3a7-511a-4d77-a2e2-d10d32889e28 https://support.microsoft.com/en-us/office/understanding-the-font-dialog-box-in-publisher-f75994d9-1e66-45f2-936b-89ac47db8347 https://support.microsoft.com/en-us/office/compatibility-changes-between-versions-692289af-b760-4698-8326-14b2edcd6552 https://support.microsoft.com/en-us/office/open-a-document-in-an-earlier-version-of-word-45c4dd2f-bf7b-4a0d-9ff2-7b2ff6b733f0#ID0EBBD=Office_2007 There's also an illustration available at attachment 73540 [details].
The properties are: w14:ligatures https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.runproperties.ligatures w14:numSpacing https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.runproperties.numberspacing w14:numForm https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.runproperties.numberingformat w14:stylisticSets https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.runproperties.stylisticsets w14:cntxtAlts https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.runproperties.contextualalternatives like this: <w14:ligatures w14:val="all"/> <w14:numSpacing w14:val="proportional"/> <w14:numForm w14:val="oldStyle"/> <w14:stylisticSets> <w14:styleSet w14:id="1"/> </w14:stylisticSets> <w14:cntxtAlts/>