Re: [O] Full-width characters break column display
Nicolas Goaziou writes: > The problem is that > > (string-width "何か") > > equals > > (string-width "") > > i.e, 4 characters, but both strings do not have the same length > visually. > > As long as the two sexps above disagree, it seems difficult to support > this. Oh. OK, so now I feel stupid: I was convinced full-width chars were twice the width of half-width chars… and it turns out the names are treacherous, and they are actually not. I guess this is a font / display issue then, and not an org-mode issue. Sorry for having bothered you and thank you! Leo
Re: [O] Full-width characters break column display
Leo Gaspard writes: > Nicolas Goaziou writes: >>> Small issue I've been having with org-mode: full-width characters >>> (eg. 何か) appear to be breaking column display. >> >> Org tables assume a fixed-width font. You need to use one, if such >> thing exists for these characters. > > Well, it is fixed-width, but twice the width of spaces and vertical > characters. > > Using it with regular English makes it look like th > is, which I guess you'll grant me is not really usable :) > > I wonder if it'd be possible to support full-width chars for CJK > script? The problem is that (string-width "何か") equals (string-width "") i.e, 4 characters, but both strings do not have the same length visually. As long as the two sexps above disagree, it seems difficult to support this.
Re: [O] Full-width characters break column display
Nicolas Goaziou writes: >> Small issue I've been having with org-mode: full-width characters >> (eg. 何か) appear to be breaking column display. > > Org tables assume a fixed-width font. You need to use one, if such > thing exists for these characters. Well, it is fixed-width, but twice the width of spaces and vertical characters. Using it with regular English makes it look like th is, which I guess you'll grant me is not really usable :) I wonder if it'd be possible to support full-width chars for CJK script?
Re: [O] Full-width characters break column display
Hello, Leo Gaspard writes: > Small issue I've been having with org-mode: full-width characters > (eg. 何か) appear to be breaking column display. Org tables assume a fixed-width font. You need to use one, if such thing exists for these characters. Regards, -- Nicolas Goaziou
[O] Full-width characters break column display
Hello, Small issue I've been having with org-mode: full-width characters (eg. 何か) appear to be breaking column display. Does anyone know of a workaround for this? Cheers, and thank you for making org-mode as great as I'm currently discovering it is! Leo