diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-17 08:11:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-17 08:11:54 +0300 |
commit | 736b6a70a492e35c2be9e1f6bb6b26a057fbdf58 (patch) | |
tree | b91e5cf262c5b88f6d518721e4e960f6ba4fd956 /source/blender/blenkernel/intern | |
parent | 69fdcea9788caa1c94e2baf848eeb6650b274c6b (diff) |
Docs: improve word wrap comment
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/font.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index de838f1b3cd..72add476bfe 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -716,8 +716,10 @@ typedef struct VFontToCurveIter { } bisect; bool ok; /** - * Disables checking if word wrapping is needed to fit the text-box width. - * Currently only used when scale-to-fit is enabled. + * Wrap words that extends beyond the text-box width (enabled by default). + * + * Currently only disabled when scale-to-fit is enabled, + * so floating-point error doesn't cause unexpected wrapping, see T89241. */ bool word_wrap; int status; |