Page MenuHome

UI: Narrower Ellipsis for Line Continuation

Authored by Harley Acheson (harley) on Jan 23 2020, 3:39 AM.



This patch changes the line continuation character from "two-dot leader" to horizontal ellipsis. Not only is this the proper character for continuation, but it is also far more likely that a font will contain this character. We have had multiple bug reports of users selecting an alternative font only to see a blank "tofu" character for continuation.

The only objection to using ellipsis has been that ellipsis is too wide. But this is only the case for our font. The width of ellipsis varies considerably between fonts, but generally is about the width of an "n", while ours is about an em-width instead.

Therefore in the following two binary font files I have reduced the width of ellipsis. Using the following font files the ellipsis is no wider than two-dot leader. Note that there are no other glyph changes in these fonts files. However, they are both saved in such a way that you no longer see any changes in the kerning as you select the international version.

The following file should replace the version that is in your ...\blender\release\datafiles\ folder:

And the following goes into ...\blender\release\datafiles\fonts\

Once done and rebuilt, you should see continuation lines as shown on the right side of this capture:

Diff Detail

rB Blender

Event Timeline

Since by default the ellipsis don't seem to take a meaningful extra amount of space, I think this seems acceptable, and indeed a more standard glyph for this.

This revision is now accepted and ready to land.Jan 23 2020, 10:25 AM

Generally I like this change. I'll let the final say up to Campbell though, since he previously had objections when it comes to changing font files (didn't really follow that discussion).

Abandoning. This is not applicable now that the font binaries have been updated with