From 0420c4178107e02cdb74c83a3829c72636b61b38 Mon Sep 17 00:00:00 2001 From: fvogel Date: Tue, 7 Feb 2017 07:14:48 +0000 Subject: Explain why replacing soft hyphens by hard hyphens is done only on OS X --- generic/tkTextDisp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 570e166..1ed9a65 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -7980,7 +7980,8 @@ CharDisplayProc( /* * On OS X, the soft hyphen does not render (there is no * corresponding glyph in OS X fonts). Display a regular - * hard hyphen instead. + * hard hyphen instead. This could be done on all platforms + * but for performance reasons do it only if it's needed. */ #ifdef MAC_OSX_TK @@ -8060,7 +8061,8 @@ CharDisplayProc( /* * On OS X, the soft hyphen does not render (there is no * corresponding glyph in OS X fonts). Display a regular - * hard hyphen instead. + * hard hyphen instead. This could be done on all platforms + * but for performance reasons do it only if it's needed. */ #ifdef MAC_OSX_TK -- cgit v0.12