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 748275 - Optional font feature interfaces for Text Tool (OpenType)
Optional font feature interfaces for Text Tool (OpenType)
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 781379 (view as bug list)
Depends on:
Blocks: 757908
 
 
Reported: 2015-04-22 04:22 UTC by Krasnaya Ploshchad’
Modified: 2018-05-24 15:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Microsoft Word 2010's interface for OpenType features (4.66 KB, image/png)
2015-08-14 09:01 UTC, Krasnaya Ploshchad’
Details

Description Krasnaya Ploshchad’ 2015-04-22 04:22:30 UTC
Hi,

There are some font families have font features for special text rendering, such as GNU FreeFont[1], Linux Libertine[2], Liberation fonts[3], EB Garamond[4], DejaVu fonts[4]. But I cannot get the way to use their font features when I input some text in a image. I hope you to add the interfaces to access some font features in the Text editor window.

[1] https://www.gnu.org/software/freefont/
[2] http://www.linuxlibertine.org/
[3] https://fedorahosted.org/liberation-fonts/
[4] http://www.georgduffner.at/ebgaramond/
[5] http://dejavu-fonts.org/wiki/

OpenType Layout tag registry:
http://www.microsoft.com/typography/otspec/ttoreg.htm
Comment 1 Michael Schumacher 2015-04-22 22:13:38 UTC
There's a talk about this at LGM 2015: http://libregraphicsmeeting.org/2015/program/##nathan-willis-bringing-opentype-features-to-open-source

If you happen to be near Toronto, Canada, around that time, please visit us at the conference. 

The talk should provide additional insight into what those features are, maybe we can make some plans based on that about how to support them in GIMP.
Comment 2 Krasnaya Ploshchad’ 2015-04-23 05:00:32 UTC
(In reply to Michael Schumacher from comment #1)
> There's a talk about this at LGM 2015:
> http://libregraphicsmeeting.org/2015/program/##nathan-willis-bringing-
> opentype-features-to-open-source
> 
> If you happen to be near Toronto, Canada, around that time, please visit us
> at the conference. 
> 
> The talk should provide additional insight into what those features are,
> maybe we can make some plans based on that about how to support them in GIMP.

Thank you! I'm not live in North America, and I have no chance to join the conference, but I think maybe it's a great proposal to make use of font feature in a image. In this case some Adobe software such as Photoshop have implemented the usage of OT feature for a long time, some open source digital typography engine such as XeTeX also support it too, but I think GIMP should't be lost at this issue. I hope this this topic will be helpful for you, and I hope GIMP will support OT feature soon.
Comment 3 Krasnaya Ploshchad’ 2015-05-12 01:37:16 UTC
OK, the LGM 2015 have a comment that provide additional insight into what those features are, and how to make use of them. You can get it in their homepage.

http://www.libregraphicsmeeting.org/2015/
Comment 4 Krasnaya Ploshchad’ 2015-05-12 01:47:00 UTC
Well, I found another article to illustrate the advantage of using OT feature, the illustrations are implemented by XeTeX.

http://nitens.org/taraborelli/latex
Comment 5 Krasnaya Ploshchad’ 2015-05-19 15:24:29 UTC
I found a proposal to build an interface for applying OT feature:

https://klim.co.nz/blog/towards-an-ideal-opentype-user-interface/
Comment 6 Krasnaya Ploshchad’ 2015-08-03 07:26:05 UTC
Hi,

I have seen the Inkscape developers announced they were implemented the way of accessing OT font features at planet.inkscape.org, which relying on the corresponding feature of Pango, I think there is your way to providing OT feature support to editors of raster images.

Regards.
Comment 7 Michael Schumacher 2015-08-04 08:50:53 UTC
That would be http://tavmjong.free.fr/blog/?p=1442 - not much of an UI there yet, except a wall of buttons :)
Comment 8 Krasnaya Ploshchad’ 2015-08-05 19:09:06 UTC
(In reply to Michael Schumacher from comment #7)
> That would be http://tavmjong.free.fr/blog/?p=1442 - not much of an UI there
> yet, except a wall of buttons :)

It's not necessary to imitate them, I think you can having an good idea to handling them in the Text editor window. And I think you can also providing several APIs to make use of OT feature in GIMP, then other developers can design plugins to use.
Comment 9 Mike Henning (drawoc) 2015-08-13 18:11:48 UTC
Pango got support in bug 738505.
Comment 10 Krasnaya Ploshchad’ 2015-08-14 09:01:45 UTC
Created attachment 309247 [details]
Microsoft Word 2010's interface for OpenType features

I got a screenshot that illustrate M$ Word 2010's interface for OpenType features, which providing several combo boxes to choose which OT table to be enabled, I think these widgets can be introduced in GIMP's Text editor, but you should add a tab to contain them.
Comment 11 Krasnaya Ploshchad’ 2015-11-10 18:07:32 UTC
(In reply to Mike Henning (drawoc) from comment #9)
> Pango got support in bug 738505.

Pango also updated the document for new attributes that used for handling font feature in 1.38.
Comment 12 Krasnaya Ploshchad’ 2015-11-12 07:05:39 UTC
(In reply to Krasnaya Ploshchad from comment #8)
> And I think you can also providing several APIs to make use of OT feature in GIMP, then other developers can design plugins to use.

See bug 757908
Comment 13 Krasnaya Ploshchad’ 2016-07-14 16:41:03 UTC
(In reply to Krasnaya Ploshchad from comment #11)
> (In reply to Mike Henning (drawoc) from comment #9)
> > Pango got support in bug 738505.
> 
> Pango also updated the document for new attributes that used for handling
> font feature in 1.38.

As Pango website, “native fonts on Microsoft Windows using Uniscribe for complex-text handling”; but Wikipedia article has an article for Uniscribe, which has a long list of version history, seen from this article, the Uniscribe has a different behavior between different versions of Windows, especially from Windows XP to 10. This may would cause unexpected results when you try to support enabling optional smart font features, to avoid this issue and provide proper text layout rendering giving predictable output on different platforms, you should intergrate a combination of Pango+HarfBuzz.
Comment 14 Jehan 2017-04-20 16:31:27 UTC
*** Bug 781379 has been marked as a duplicate of this bug. ***
Comment 15 GNOME Infrastructure Team 2018-05-24 15:12:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/667.