path: root/src/
diff options
authorDaniel Hirt <>2015-10-13 10:59:19 +0300
committerDaniel Hirt <>2015-11-24 14:31:05 +0200
commit40dfc4a45dd076465ea36cfb9e7229da58a907f4 (patch)
treecbf2aff64737079760861e8675741fd43d64a6fd /src/
parent89ef4b70b8b6a04a911da8ef94c2124fab031032 (diff)
Evas textblock: add support for hyphenation wrap style
We now support hyphenation in style. Use "wrap=hyphenation" to use this wrap option. It will hyphenate based on explicit SOFT HYPHEN (&shy;) placement in the text, and with the (optional) assistance of dictionaries compatible with Hunspell's "hyphen" library. This wrap mode favors breaking at hyphen positions in a word, over moving the whole word to the next line. It will put an additional "-" at the break position if it was hyphened. Enabling the hyphen dictionaries is done by adding these configure options: --enable-hyphen (requires Hunspell's "hyphen" library installed) --with-dictionaries-hyphen-dir=DIR (specifies the install location of the actual .dic dictionary files e.g. /usr/share/hyphen) Note that dictionary files are expected to be in the form of "en_US.dic" or anything that ends with it e.g. "hyph_en_US.dic" (this how they are named in Arch Linux). @feature
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index e5abebc3d8..9cc57a5a81 100644
--- a/src/
+++ b/src/
@@ -148,6 +148,7 @@ lib/evas/canvas/evas_object_box.c \
148lib/evas/canvas/evas_object_table.c \ 148lib/evas/canvas/evas_object_table.c \
149lib/evas/canvas/evas_object_text.c \ 149lib/evas/canvas/evas_object_text.c \
150lib/evas/canvas/evas_object_textblock.c \ 150lib/evas/canvas/evas_object_textblock.c \
151lib/evas/canvas/evas_textblock_hyphenation.x \
151lib/evas/canvas/evas_object_textgrid.c \ 152lib/evas/canvas/evas_object_textgrid.c \
152lib/evas/canvas/evas_object_grid.c \ 153lib/evas/canvas/evas_object_grid.c \
153lib/evas/canvas/evas_font_dir.c \ 154lib/evas/canvas/evas_font_dir.c \