far2l icon indicating copy to clipboard operation
far2l copied to clipboard

japanese characters break the layout

Open undertherain opened this issue 4 years ago • 4 comments

looks like the character width is not estimated correctly image

undertherain avatar Nov 29 '20 07:11 undertherain

not reproduced with ウィキ or 日本語 can you please provide sample chars that demonstrate this behaviour?

unxed avatar Jan 02 '22 18:01 unxed

@unxed
dont't have it installed at the moment, but I think it should be long enough string

the problem seems to be in estimating when to start trimming it to fit into the column

the example from my screenshot uses ながいながいながいながい (meaning longlonglonglong :) also it can depend on screen resolution and font size, so ながいながいながいながいながいながいながいながい thank you :)

undertherain avatar Jan 03 '22 02:01 undertherain

thanks! it works ok now in wx backend, but is buggy in gnome terminal (mc is buggy in gnome terminal with this line also, maybe a terminal issue?)

изображение

изображение

unxed avatar Jan 03 '22 08:01 unxed

hm I just rebuilt with wx and indeed it kind of works, at expense of Japanese font being kind of small

normally in gnome terminal Japanese characters take 2x width and far does not seem to be accommodating for that. this is far with wx, pretty much like yours image

and this is midnight commander for reference image

undertherain avatar Jan 03 '22 08:01 undertherain

fixed since today

elfmz avatar Nov 06 '22 15:11 elfmz