summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 09:44:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-09 09:44:23 -0400
commit0e3da88d1606300a04dfde625cd28af4c958b14c (patch)
tree34794fbd05f0301551c19db46157cdaf20e93db8 /pango/break.c
parent221199b62189c2fd9fdd70fc6d981ddbc4b74bca (diff)
downloadpango-0e3da88d1606300a04dfde625cd28af4c958b14c.tar.gz
Revert "break: Mark breaks induced by soft hyphens"
This reverts commit 50b1e8532c5211cebd3cea935f9ac91a087d5c35.
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/pango/break.c b/pango/break.c
index 13ccbdaf..11f4079e 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -984,7 +984,6 @@ pango_default_break (const gchar *text,
attrs[i].is_char_break = FALSE;
attrs[i].is_line_break = FALSE;
attrs[i].is_mandatory_break = FALSE;
- attrs[i].is_soft_hyphen = FALSE;
/* Rule LB1:
assign a line breaking class to each code point of the input. */
@@ -1365,15 +1364,9 @@ pango_default_break (const gchar *text,
case BREAK_ALLOWED:
attrs[i].is_line_break = TRUE;
- /* fall through */
+ break;
case BREAK_ALREADY_HANDLED:
- if (attrs[i].is_line_break)
- {
- /* After Soft Hyphen */
- if (prev_wc == 0x00AD)
- attrs[i].is_soft_hyphen = TRUE;
- }
break;
default: