View Issue Details

IDProjectCategoryView StatusLast Update
0015088ScribusFontspublic2018-01-16 13:42
ReporterKrasnayaPloshchad Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Platformx86_64OSWindows 10OS Versionbuild 1709
Product Version1.5.3 
Summary0015088: Stylistic alternates have no way to switch in Text Properties
DescriptionThe stylistic alternates (salt) feature is used to the same purpose as stylistic sets (ssXX) to produce alternative glyph. While a font inclusing this feature used in Scribus, there is no way to switch the alternative glyph in Text Properties dialog. Sightly affect Ponomar Unicode font. See: https://i.imgur.com/krKi1R6.png
Additional InformationPonomar Unicode font available here: http://sci.ponomar.net/fonts.html
TagsNo tags attached.
PatchNo

Activities

jghali

2018-01-01 22:43

administrator   ~0044799

We use harfbuzz, a third party OpenType shaping engine for OpenType features support. I do not see any reference to the "salt" tag in harfbuzz code, so I can only conclude that stylistic alternates are at that moment not supported by harfbuzz. So at that point we have no reason to add such control to the text properties palette.

Fahad

2018-01-11 04:42

developer   ~0044831

I have submitted a request in harfbuzz to support salt feature.

https://github.com/harfbuzz/harfbuzz/issues/694

Fahad

2018-01-11 10:51

developer   ~0044832

well, salt feature is supported by harfbuzz.

jghali

2018-01-11 12:07

administrator   ~0044833

Last edited: 2018-01-11 12:10

Well, we would need to know how to get the number of stylistic alternates then.

KrasnayaPloshchad

2018-01-13 16:19

reporter   ~0044834

HarfBuzz will working for this.
https://github.com/harfbuzz/harfbuzz/issues/673

If HarfBuzz get the implementation, then we can do it. Also we can fix 0014885 as well

Fahad

2018-01-13 17:14

developer   ~0044835

well, this bug & let me think about font features GUI in scribus, it isn't possible to implement all opentype features in GUI. Right now there is 140 features and more to come. Libreoffice solution is smart and do the job. Read this doc about it: http://www.scholarsfonts.net/Using_OT_in_LibreOffice_1-2.pdf

what about if we implement advance font feature text field where you can enter the font feature you want to apply to the text. This will save space and target advance users only. By this we will pass font feature directly to Harfbuzz.

KrasnayaPloshchad

2018-01-16 13:42

reporter   ~0044839

> what about if we implement advance font feature text field where you can enter the font feature you want to apply to the text. This will save space and target advance users only. By this we will pass font feature directly to Harfbuzz.

I agree with you, that is what Inkscape does anyway. But I think we can also make the interface awesome if HarfBuzz implement this new API.

Issue History

Date Modified Username Field Change
2018-01-01 16:32 KrasnayaPloshchad New Issue
2018-01-01 22:17 jghali Severity minor => feature
2018-01-01 22:43 jghali Note Added: 0044799
2018-01-11 04:42 Fahad Note Added: 0044831
2018-01-11 10:51 Fahad Note Added: 0044832
2018-01-11 12:07 jghali Note Added: 0044833
2018-01-11 12:10 jghali Note Edited: 0044833
2018-01-13 16:19 KrasnayaPloshchad Note Added: 0044834
2018-01-13 17:14 Fahad Note Added: 0044835
2018-01-16 13:42 KrasnayaPloshchad Note Added: 0044839