From 0ce185e42c134f1e2650733faab490f4cf6e7324 Mon Sep 17 00:00:00 2001 From: Benau Date: Mon, 17 Jun 2019 16:09:27 +0800 Subject: [PATCH] Allow breaking with zero-width space --- src/font/font_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/font/font_manager.cpp b/src/font/font_manager.cpp index b0337fd7a..084956969 100644 --- a/src/font/font_manager.cpp +++ b/src/font/font_manager.cpp @@ -229,7 +229,8 @@ namespace LineBreakingRules (c > 44031 && c < 55204) || // Hangul (c > 63743 && c < 64256) || // More Chinese c == 173 || c == 32 || // Soft hyphen and white space - c == 47 || c == 92) // Slash and blackslash + c == 47 || c == 92 || // Slash and blackslash + c == 8203) // Zero-width space return true; return false; } // breakable