When working in JQT with some of the non-standard-width characters in a.,
the boxing formatting is incorrect.
Here's a link to a screenshot (.png) of my code in JQT attempting to create
all the 13 playing cards in 4 suits. https://bit.ly/2BD6LEQ


As you can see, the horizontal boxing characters are incorrect, and don't
adjust for the wider characters, even though I'm using a fixed-width font.

In the second part of the example, I randomly deal 4 hands from the deck
labeled 'all'.

At this point, we have 4 hands of 13 cards, but there are random spaces
scattered in the boxed cards.

Something went wrong, adding spaces after the random deal.

In the third part, I remove all the horizontal boxing, making the display
look much neater, but the extra spaces are even more visible.


Two issues:

1. Something is inserting random spaces when randomly selecting boxed items.

2. It would be nice to have the boxing auto-adjust for variable width
characters. If that isn't possible, it would be useful to have a boxing
format option to remove horizontal boxing & corner characters for
environments that don't have fixed-with fonts, that use non-standard-width
characters, or that force double-spaced lines (Quora). After posting J
problems and solutions in various venues, it turns out that the vertical
bar (│) without horizontal bars or corners, is quite enough to clearly
delineate separate items in most cases.



Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to