r23898 by jghali - #16138: Wrong space before a closing double quotes character in justified paragraphs

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 20 03:03:24 UTC 2020


Author: jghali
Date: Sat Jun 20 03:03:24 2020
New Revision: 23898

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23898
Log:
#16138: Wrong space before a closing double quotes character in justified paragraphs

Modified:
    trunk/Scribus/scribus/text/specialchars.cpp

Modified: trunk/Scribus/scribus/text/specialchars.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23898&path=/trunk/Scribus/scribus/text/specialchars.cpp
==============================================================================
--- trunk/Scribus/scribus/text/specialchars.cpp	(original)
+++ trunk/Scribus/scribus/text/specialchars.cpp	Sat Jun 20 03:03:24 2020
@@ -212,7 +212,7 @@
 bool SpecialChars::isCJK(uint ch)
 {
 	return (	(0x2E80 < ch && ch < 0x2EFF)   ||  // CJK Radicals Supplement
-		(0x3000 < ch && ch < 0x303F)   ||  // CJK Symbols and Punctuation
+		(0x3000 <= ch && ch < 0x303F)   ||  // CJK Symbols and Punctuation
 		(0x3040 < ch && ch <= 0x30FF)  ||  // Hiragana, Katakana
 		(0x31C0 < ch && ch < 0x31EF)   ||  // CJK Strokes
 		(0x3200 < ch && ch < 0x32FF)   ||  // Enclosed CJK Letters and Months
@@ -227,11 +227,7 @@
 		(0x2F800 < ch && ch < 0x2FA1F) ||  // CJK Compatibility Ideographs Supplement
 		(0xFF01 < ch && ch < 0xFF0F)   ||
 		(0xFF1A < ch && ch < 0xFF20)   ||
-		(0xFF58 < ch && ch < 0xFFDC)   ||
-		(ch == 0x3000) ||
-		(ch == 0x3002) ||
-		(ch == 0x201C) ||
-		(ch == 0x201D));
+		(0xFF58 < ch && ch < 0xFFDC)   );
 }
 
 




More information about the scribus-commit mailing list