GNOME Bugzilla – Bug 748275
Optional font feature interfaces for Text Tool (OpenType)
Last modified: 2018-05-24 15:12:22 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
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.
(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.
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/
Well, I found another article to illustrate the advantage of using OT feature, the illustrations are implemented by XeTeX. http://nitens.org/taraborelli/latex
I found a proposal to build an interface for applying OT feature: https://klim.co.nz/blog/towards-an-ideal-opentype-user-interface/
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.
That would be http://tavmjong.free.fr/blog/?p=1442 - not much of an UI there yet, except a wall of buttons :)
(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.
Pango got support in bug 738505.
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.
(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.
(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
(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.
*** Bug 781379 has been marked as a duplicate of this bug. ***
-- 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.