a=.'АНТОНОВ АЛЕКСАНДР' a,:'x'#~#7 u:a
АНТОНОВ АЛЕКСАНДР xxxxxxxxxxxxxxxxx a,:'x'#~#a АНТОНОВ АЛЕКСАНДР xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <a ┌─────────────────────────────────┐ │АНТОНОВ АЛЕКСАНДР│ └─────────────────────────────────┘ #7 u:a 17 #a 33 $":<a 3 35 The problem is that the calculation for the size of the box is done in UTF-8 and not Unicode. Notice that a and the x's line up perfectly. There is a problem with many Unicode characters as they are proportional where counting Unicode characters instead of UTF-8 characters won't work. But counting Unicode characters would fix most cases. On Mon, Sep 30, 2013 at 5:45 AM, Raul Miller <[email protected]> wrote: > Box display is designed for fix width font. > > No one has written box display for proportional spaced font. > > Perhaps you could write one? > > Thanks, > > -- > Raul > > On Mon, Sep 30, 2013 at 1:21 AM, inv2004 . <[email protected]> wrote: > > box with native utf-8 characters: > > > > 1{a > > +-------------------------------------+ > > |+-+---------------------------------+| > > ||1|АНТОНОВ АЛЕКСАНДР|| > > |+-+---------------------------------+| > > +-------------------------------------+ > > > > # "1 ":1{a > > 39 39 39 39 39 > > > > #>1{>1{a > > 33 > > > > but real it is 16 utf-8 2b chats and 1b space. > > > > Are there any internal X!: to fix it or custom function to show these > boxes? > > > > Thank you, > > > > -- > > Regards, > > Alexander. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
