You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using wsltty 1.7.9 with mintty 2.7.9
This seems to be related to #638 but I seem to be missing something.
I've tried all SauceCodePro regular fonts All show up as small icons except for 'Sauce Code Pro Nerd Font Complete.ttf' which shows up as truncated, but the size I want.
Which characters do you try to display? OSC 77119 only affects specific ranges of Unicode characters, e.g. Indic, not any iconic or even private use characters.
And what makes your case distinct from 638?
Characters in the private space.
F113 for example.
And it looks like 638 was solved, I can't figure out how though.
I've also are playing with the source code and compiling my own version of mintty, with no success so far. I've added the private space to wide.t with no effect.
I've ensured all private space characters get the attr ATTR_WIDE, but it's still clipped on the left side, and the first character after is hidden under the right side of the icon.
638 was mostly about overhanging glyphs, for which support was added and released.
Note that you cannot really expect particular rendering for private use characters.
It would help though to have a precise symptom description, with exact output and screenshot.
See #638 (comment),
where I had offered a feature to support wide private use characters (with no feedback so far).
The problem is, however, how to define which of the private use characters should be wide and which are narrow. Maybe you can contact the Nerdfonts project whether they have a concept on this.
Would it be possible to add a config property where we enter data using the same syntax as wide.t?
Then we could enter that in the .minttyrc or config file.
In the second screenshot I had already added { 0xE5FA, 0xF900 }, to wide.t but didn't seem to have any effect.
At the least I'd expect the glyphs to start being rendered at x=0 instead of have the left side truncated.
If there is overhang on the right side I don't mind too much as I'd separate the right side with a space anyway.
@ddutch Yeah I think the terminal emulator is treating the ambiguous width characters as 'narrow'. In gnome terminal we can change it to 'wide'. Well it's at least an option ¯_(ツ)_/¯
Activity
mintty commentedon Aug 20, 2017
Which characters do you try to display? OSC 77119 only affects specific ranges of Unicode characters, e.g. Indic, not any iconic or even private use characters.
And what makes your case distinct from 638?
mvanderlee commentedon Aug 20, 2017
Characters in the private space.
F113 for example.
And it looks like 638 was solved, I can't figure out how though.
I've also are playing with the source code and compiling my own version of mintty, with no success so far. I've added the private space to wide.t with no effect.
I've ensured all private space characters get the attr ATTR_WIDE, but it's still clipped on the left side, and the first character after is hidden under the right side of the icon.
mintty commentedon Aug 20, 2017
638 was mostly about overhanging glyphs, for which support was added and released.
Note that you cannot really expect particular rendering for private use characters.
It would help though to have a precise symptom description, with exact output and screenshot.
mvanderlee commentedon Aug 21, 2017
Original:

After making all private space characters wide.
term.c line:1179
mintty commentedon Aug 21, 2017
See #638 (comment),
where I had offered a feature to support wide private use characters (with no feedback so far).
The problem is, however, how to define which of the private use characters should be wide and which are narrow. Maybe you can contact the Nerdfonts project whether they have a concept on this.
mvanderlee commentedon Aug 21, 2017
Would it be possible to add a config property where we enter data using the same syntax as wide.t?
Then we could enter that in the
.minttyrcorconfigfile.In the second screenshot I had already added
{ 0xE5FA, 0xF900 },to wide.t but didn't seem to have any effect.mvanderlee commentedon Aug 21, 2017
At the least I'd expect the glyphs to start being rendered at x=0 instead of have the left side truncated.
If there is overhang on the right side I don't mind too much as I'd separate the right side with a space anyway.
Gnome-terminal on CentOS 7

ryanoasis commentedon Aug 23, 2017
@ddutch Yeah I think the terminal emulator is treating the ambiguous width characters as 'narrow'. In gnome terminal we can change it to 'wide'. Well it's at least an option ¯_(ツ)_/¯
mintty commentedon Aug 23, 2017
The private use range is in fact marked "Ambiguous width" (just checked; does not apply to non-BMP private use characters).
Mintty has the capability to handle ambiguous-width characters as wide, following the Cygwin concept for that matter, see https://github.com/mintty/mintty/wiki/Tips#ambiguous-width-setting
tweak width expansion of ambiguous-width characters (#680, ~#638, ~#615)
mintty commentedon Oct 23, 2017
Released 2.8.0.