https://bugs.documentfoundation.org/show_bug.cgi?id=166079
Bug ID: 166079
Summary: Handle OpenType font features properly at file format
level
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Currently support for font features is handled by appending a font features
string to the font name and parsing it during text layout. This has served us
OK, but it is a hack and non-standard and I doubt any other application or tool
that supports ODF handles it.
We should instead handle font features like other font attributes, e.g. color,
and read it/write properly to the file format, possibly modelling it after
CSS’s font-feature-settings
(https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings). It
can be a LibreOffice ODF extension at first, then proposed for standardization
once it is ready.
This would also open the door for importing and exporting OpenType font
features settings from other file formats like DOCX (it should be worth
checking how DOCX handles them so the solution that gets developed is not
incompatible with it) and SVG.
There seems to have been a proposal for ODF, but I can’t seem to find the
proposal text: https://issues.oasis-open.org/browse/OFFICE-3414
See also
https://wiki.documentfoundation.org/Smart_font_optional_features_for_Graphite_and_OpenType_fonts
--
You are receiving this mail because:
You are the assignee for the bug.