
Hello,
This is regarding a wishlist bug reported here; https://bugs.launchpad.net/inkscape/+bug/171140 I am writing an extension for hyphenating the text when it is justified. I have the first version ready to use for both English and Malayalam(ml_IN) and tested in Inkscape 0.46 in Debian Sid. It is available for testing here: http://thottingal.in/projects/inkscape/inkscape-hyphenation.zip
It is on top of the python hyphenation code written by Wilbert Berendsen. The hyphenation rules, also called as patterns is TeX or Openoffice itself. There are a few more changes need to be done: a) Making the extension language independent: Loading all the patterns from a directory while initializing? Or is it okey to ask user to select the language? As of now I am doing a unicode range checking to differentiate between Malayalam and English. but it will be buggy for other languages. b) On GNU/Linux platforms can we point to the default hyphenation patterns directory of openoffice?
Feedbacks are welcome.
Thanks Santhosh Thottingal htt://thottingal.in