|
@@ -249,7 +249,7 @@ text_t *new_text(cairo_t *cr, char *s, int size, int weight, int preprocess) {
|
|
|
|
|
|
text->layout = pango_cairo_create_layout(cr);
|
|
|
pango_layout_set_font_description(text->layout, font_description);
|
|
|
- pango_layout_set_wrap(text->layout, PANGO_WRAP_WORD);
|
|
|
+ pango_layout_set_wrap(text->layout, PANGO_WRAP_WORD_CHAR);
|
|
|
pango_layout_set_width(text->layout, WRAP_WIDTH * PANGO_SCALE);
|
|
|
|
|
|
pango_font_description_free(font_description);
|