Hi all,
I'm using Inkscape 0.91 on Ubuntu 12.04.
With some fonts, when entering a double s ("ss") in a text block, it is automatically replaced with a sharp s (http://en.wikipedia.org/wiki/%C3%9F). However, sharp s is always incorrect spelling in Switzerland.
This problem appears with all fonts of the ADF family and with Verana, but not with many others.
I suppose this is an Inkscape feature. If so, how can I turn it off?
Thanks in advance.
Regards, Stefan
On Sun, 2015-03-22 at 16:18 +0100, Stefan Mueller wrote:
Hi all,
I'm using Inkscape 0.91 on Ubuntu 12.04.
With some fonts, when entering a double s ("ss") in a text block, it is automatically replaced with a sharp s (http://en.wikipedia.org/wiki/%C3%9F). However, sharp s is always incorrect spelling in Switzerland.
This problem appears with all fonts of the ADF family and with Verana, but not with many others.
I suppose this is an Inkscape feature. If so, how can I turn it off?
This is not an Inkscape feature by design but a feature of the underlying text handling library and the fonts you are using. There is a table inside Opentype fonts that controls ligatures. I am guessing that there is an entry in the problematic fonts that says to convert double s to sharp s for German text. Have you set your "locale" to Swiss German? (de_CH). That may disable the table. Or the font may not have the correct information for Swiss German. You can see what locale you are using by typing at a prompt: printenv LANG
CSS3 will allow more control of ligatures but Inkscape hasn't implemented any of the advance features (nor has the Pango library which Inkscape relies on for text layout).
A hacky work-around is to introduce a very small space between the two s's. That should disable the ligature. A small space can be added using one of the options on the Text-Tool Tool-Bar.
Tav
Thanks in advance.
Regards, Stefan
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Hi Tav,
Am 22.03.2015 um 18:37 schrieb Tavmjong Bah:
(...)
This is not an Inkscape feature by design but a feature of the underlying text handling library and the fonts you are using. There is a table inside Opentype fonts that controls ligatures. I am guessing that there is an entry in the problematic fonts that says to convert double s to sharp s for German text. Have you set your "locale" to Swiss German? (de_CH). That may disable the table. Or the font may not have the correct information for Swiss German. You can see what locale you are using by typing at a prompt: printenv LANG
Thanks for the comprehensive reply. Locale was already de_CH. I'll check with the font developers whether they can provide a fix.
Regards, Stefan
Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
Stefan Mueller
-
Tavmjong Bah