glyph width report (rev.3)
request
OSC 8900 ; Ps ; Pw ; ? : Pf : Pt ST
- Ps: reserved
- Pw: width (0 or 1 or 2)
- Pf: beginning of unicode code point
- Pt: end of unicode code point
- ST: BEL(0x07) or ESC(0x1B) BACKSLASH(0x5C)
answer
OSC 8900 ; Ps ; Pt ; Pw ; Pf : Pt ; Pf : Pt ; ... ST
- Ps: response code
- 0: ok (default)
- 1: recognized but not supported
- 2: not recognized
- Pt: reserved (maybe East Asian Width Version)
- Pw: width (0 or 1 or 2) (deprecated)
- Pf: beginning of unicode code point
- Pt: end of unicode code point
- ST: BEL(0x07) or ESC(0x1B) BACKSLASH(0x5C)
example
request
OSC 8900;0;2;?:0:65535 ST
answer
OSC 8900;0;0;2;4352:4441;4447:4447;9001:9002;11904:11929;11931:12019;12032:12245;12272:12283;12288:12329;12336:12350;12353:12438;12443:12543;12549:12589;12593:12686;12688:12727;12736:12751;12784:12830;12832:12867;12880:13054;13056:19893;19904:40891;40960:42124;42128:42182;44032:55203;63744:64045;64048:64106;64112:64217;65040:65049;65072:65106;65108:65126;65128:65131;65281:65376;65504:65510; ST
ref
- http://uobikiemukot.github.io/yaft/glyph_width_report.html
- https://gist.github.com/saitoha/8767268