After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 545510 - Support user control for OpenType features
Support user control for OpenType features
Status: RESOLVED DUPLICATE of bug 738505
Product: pango
Classification: Platform
Component: general
1.20.x
Other All
: Normal enhancement
: ---
Assigned To: pango-maint
pango-maint
: 654962 654964 655015 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-07-30 13:24 UTC by Vasile Gaburici
Modified: 2015-11-12 16:09 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Vasile Gaburici 2008-07-30 13:24:37 UTC
At the very least, and this is easy to code, so it should probably come first, I'd like to see a way for the user to control via markup what OpenType features are on/off. XeTeX, which doesn't use pango, but relies to some extent on the same fonconfig/freetype stack, has a simple mechanism for doing this. See RawFeature on p.28 of the XeLaTeX package fontspec [http://www.ctan.org/get/macros/xetex/latex/fontspec/fontspec.pdf].

A more advanced treatment would be to implement logical markup on top of OpenType features, like subscripts etc. XeTeX's fontspec is a good source of inspiration on how this can be done, but if you want a more XML-ish approach, you could take a look at how the Windows Presentation Foundation specifies it: http://msdn.microsoft.com/en-us/library/ms745109.aspx

I'm also going to add that many OpenType feature have a "UI default", and it is nice that Pango turns these one, since many of these features are optional, it should also allow the user to turn them off without resorting to antics like changing the language to something that doesn't have the feature.
Comment 1 Nicolas Mailhot 2008-11-16 11:03:29 UTC
Probably a dupe of #547472
Comment 2 Behdad Esfahbod 2012-08-25 19:18:55 UTC
Related, but not duplicate.
Comment 3 Behdad Esfahbod 2012-08-25 19:19:17 UTC
*** Bug 655015 has been marked as a duplicate of this bug. ***
Comment 4 Behdad Esfahbod 2012-08-25 19:19:26 UTC
*** Bug 654964 has been marked as a duplicate of this bug. ***
Comment 5 Behdad Esfahbod 2012-08-25 19:19:44 UTC
*** Bug 654962 has been marked as a duplicate of this bug. ***
Comment 6 Behdad Esfahbod 2013-01-10 22:38:58 UTC
Part of this is fixed now.  See bug 547472.
Comment 7 Krasnaya Ploshchad’ 2015-05-31 09:26:10 UTC
Someone have a topic about OpenType features in LGM 2015, this topic said Pango should need hooks for OpenType features.

http://www.freesoftwhere.org/2015/05/07/opentype-workshop-lgm-2015/
http://libregraphicsmeeting.org/2015/
Comment 8 Behdad Esfahbod 2015-06-12 23:19:24 UTC

*** This bug has been marked as a duplicate of bug 738505 ***
Comment 9 Krasnaya Ploshchad’ 2015-06-16 09:22:12 UTC
There is also providing a concise list to describe the usage of these features, all of them should be impelemented:

https://en.wikipedia.org/wiki/List_of_typographic_features
Comment 10 Krasnaya Ploshchad’ 2015-11-12 16:09:23 UTC
(In reply to Krasnaya Ploshchad from comment #9)
> There is also providing a concise list to describe the usage of these
> features, all of them should be impelemented:
> 
> https://en.wikipedia.org/wiki/List_of_typographic_features

Sorry, I have no noticed that this bug got resolved as comment 8 mentioned.