[Libreoffice-bugs] [Bug 136634] Font feature descriptions for "Linux Biolinum G" et al. can't be localized
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 10 07:20:23 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=136634
--- Comment #5 from Ming Hua <ming.v.hua at qq.com> ---
(In reply to Tomaz Vajngerl from comment #4)
> OpenType fonts have a fixed set of font features, and the description
> (including translation) of these is left to the application. This is
> different with Graphite fonts as they can have arbitrary font features (some
> that are unique to the font) and the application itself doesn't need to know
> anything about them. The effect of this is that the font itself must provide
> descriptions and all the translations of font features for the font.
The difference between Graphite fonts and OpenType fonts are real, however I'm
not convinced there is no way to provide translations of these feature
descriptions to LO users other than having translated descriptions in the font
itself.
Take the first feature listed in attachment 165344 for example. The "c2sc"
feature is also available in OpenType, with the same four-letter abbreviation:
https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#tag-c2sc
And even the longer description "Capitals to Small Capitals" is word-for-word
identical to the current translatable strings used by LO (presumably for
OpenType fonts with the same feature):
https://weblate.documentfoundation.org/translate/libo_ui-master/vclmessages/zh_Hans/?checksum=e3ee94f5c836b952
Therefore it should be possible to utilize the existing translations for
Graphite fonts, just with some extra work of string manipulation. The
Graphite-specific features with no equivalent in OpenType can of course stay in
English, at least for now.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200910/1b676c92/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list