From 47959af86ae7dff5618818339925b97f3bb7e1be Mon Sep 17 00:00:00 2001 From: cyreve Date: Sat, 11 Feb 2006 18:08:18 +0000 Subject: [PATCH] make soft hyphens work --- src/libnrtype/Layout-TNG-Compute.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index 0fbbb6f0c..ca16291d0 100755 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -524,7 +524,6 @@ class Layout::Calculator if (unbroken_span.glyph_string->log_clusters[glyph_index] < (int)unbroken_span.text_bytes && *iter_source_text == UNICODE_SOFT_HYPHEN - && it_span + 1 != it_chunk->broken_spans.end() && glyph_index + 1 != it_span->end_glyph_index) { // if we're looking at a soft hyphen and it's not the last glyph in the // chunk we don't draw the glyph but we still need to add to _characters -- 2.30.2