The improved boxed display only works with CJK chars that take 2 display
spaces. Not sure what U: 3101 but it isn't one of the ones that are now
handlled. Try it with normal CJK text and see how that works,

Unicode is a wonderful beast, but it is a wild one.

On Wed, Jul 6, 2016 at 2:01 AM, robert therriault <bobtherria...@mac.com>
wrote:

> I changed to unifont and restarted jqt and the results still look a little
> out of line for some wide characters.
>
>        < 3 4 $ 'a', (u: 3101), 'b'
> ┌────┐
> │aఝba│
> │ఝbaఝ│
> │baఝb│
> └────┘
>      $ ": 3 4 $ 'a', (u: 3101), 'b'  NB. force to UTF-8 to estimate span
> of unicode characters
> 3 8
>       < 3 8 $ 'x' NB. Wide enough to accommodate double wide characters
> ┌────────┐
> │xxxxxxxx│
> │xxxxxxxx│
> │xxxxxxxx│
> └────────┘
>
> The result could look something like this:
>
> ┌────────┐
> │aఝba   │
> │ఝbaఝ  │
> │baఝb   │
> └────────┘
>       < 3 4 $ 'a', (u: 30101), 'b'  NB. looks like the spacing has been
> improved for CJK characters
> ┌──────┐
> │a疕ba │
> │疕ba疕│
> │ba疕b │
> └──────┘
>     < 3 4 $ 'a', '疕', 'b'  NB. Fractured UTF-8 results in erratic
> character display
> ┌────┐
> │a疕 │
> │baç–│
> │•baç│
> └────┘
>
>  JVERSION
> Engine: j805/j64/darwin
> Beta-9: commercial/2016-07-05T17:11:06
> Library: 8.04.15
> Qt IDE: 1.4.9/5.4.2
> Platform: Darwin 64
> Installer: J804 install
> InstallPath: /users/bobtherriault/j64-804
> Contact: www.jsoftware.com
>
> Cheers, bob
>
>
> > On Jul 5, 2016, at 5:41 PM, Eric Iverson <eric.b.iver...@gmail.com>
> wrote:
> >
> > Yes, that is right.
> >
> > Changing it in JHS is a little more complicated and I need to make it
> > easier.
> >
> > On Tue, Jul 5, 2016 at 8:36 PM, robert therriault <bobtherria...@mac.com
> >
> > wrote:
> >
> >> And that would mean that once I have done the download, I would change
> the
> >> font in the jqt environment from 'Menlo' to 'Unifont' right? I will
> give it
> >> a try after dinner.
> >>
> >> Cheers, bob
> >>
> >>> On Jul 5, 2016, at 5:25 PM, Eric Iverson <eric.b.iver...@gmail.com>
> >> wrote:
> >>>
> >>> You need a fixed font unicode font for the display to look right.
> >>>
> >>>
> >>> This is the same problem you get with a proportional font with just
> >> ascii.
> >>>
> >>> ***
> >>> Following info from Bill:
> >>>
> >>> Download and install the standard unifont ttf from
> >>>
> >>> http://unifoundry.com/unifont.html
> >>>
> >>> this should work for windows and mac.
> >>>
> >>> For linux, use apt-get (or similar commands) to install unifont from
> >> distro
> >>> repos.
> >>>
> >>>
> >>>
> >>>
> >>> On Tue, Jul 5, 2016 at 8:19 PM, robert therriault <
> bobtherria...@mac.com
> >>>
> >>> wrote:
> >>>
> >>>> Eric, I thought you said it would be up in a couple of days/weeks!
> Nice
> >>>> work (and Beta 9 works fine on Darwin).
> >>>>
> >>>> For Henry, it's different, although I am not sure it is an improvement
> >> for
> >>>> boxing. I wish I had some useful suggestions, but with fixed width and
> >> the
> >>>> inability to move characters within space, I am not sure how you
> resolve
> >>>> this. Maybe box size could be based on the shape of the UTF-8
> encoding,
> >>>> although that ends up padding out to the right with the higher value
> for
> >>>> the row index. Tricky.
> >>>>
> >>>> Cheers, bob
> >>>>
> >>>>      JVERSION
> >>>> Engine: j804/j64/darwin
> >>>> Release: commercial/2015-12-21 18:06:25
> >>>> Library: 8.04.15
> >>>> Qt IDE: 1.4.10/5.4.2
> >>>> Platform: Darwin 64
> >>>> Installer: J804 install
> >>>> InstallPath: /applications/j64-804
> >>>> Contact: www.jsoftware.com
> >>>>
> >>>>      < 3 4 $ 'a', (u: 30101), 'b'
> >>>> ┌────────┐
> >>>> │a疕ba  │
> >>>> │疕ba疕│
> >>>> │ba疕b  │
> >>>> └────────┘
> >>>>      < 3 4 $ 'a','疕', 'b'
> >>>> ┌────┐
> >>>> │a疕│
> >>>> │ba��│
> >>>> │�ba�│
> >>>> └────┘
> >>>>
> >>>>      JVERSION
> >>>> Engine: j805/j64/darwin
> >>>> Beta-9: commercial/2016-07-05T17:11:06
> >>>> Library: 8.04.15
> >>>> Qt IDE: 1.4.9/5.4.2
> >>>> Platform: Darwin 64
> >>>> Installer: J804 install
> >>>> InstallPath: /users/bobtherriault/j64-804
> >>>> Contact: www.jsoftware.com
> >>>>    < 3 4 $ 'a', (u: 30101), 'b'
> >>>> ┌──────┐
> >>>> │a疕ba │
> >>>> │疕ba疕│
> >>>> │ba疕b │
> >>>> └──────┘
> >>>>   < 3 4 $ 'a', '疕', 'b'
> >>>> ┌────┐
> >>>> │a疕 │
> >>>> │baç–│
> >>>> │•baç│
> >>>> └────┘
> >>>>    $ ": 3 4 $ 'a', (u: 30101), 'b' NB. create UTF-8 encoding shape
> >>>> 3 8
> >>>>   < 3 8 $ 'x'  NB. this box would accommodate the size of the unicode,
> >>>> but the box would need to be generated independently of the contents.
> >>>> ┌────────┐
> >>>> │xxxxxxxx│
> >>>> │xxxxxxxx│
> >>>> │xxxxxxxx│
> >>>> └────────┘
> >>>>
> >>>>> On Jul 5, 2016, at 3:29 PM, 'Pascal Jasmin' via Source <
> >>>> sou...@jsoftware.com> wrote:
> >>>>>
> >>>>> unicode looks better, but every one of these pages has misalignments
> >>>>>
> >>>>>
> >>>>> ,. <"1 8 32 $ 4 u: 0 + i.256   NB. quarterwidth row 5
> >>>>>
> >>>>> ,. <"1 8 32 $ 4 u: 256 + i.256
> >>>>> ,. <"1 8 32 $ 4 u: 512 + i.256
> >>>>> ,. <"1 8 32 $ 4 u: 768 + i.256  NB. first pages are digraph 0 (back)
> >>>> space chars.
> >>>>>
> >>>>> ,. <"1 8 32 $ 4 u: 1024 + i.256
> >>>>>
> >>>>>
> >>>>> < (4 u: ,@:(3&u: ,. 758 + ?@(95"0))) 'Digraph char cheating'
> >>>>> ┌──────────────────────────────────────────┐
> >>>>> │D˿i̅g̢r˶a̭p̠h̡ ̗c̳h˻a̢r͒ ̒c̋h̭e̐a͒ṫi̵n̍g͒│
> >>>>> └──────────────────────────────────────────┘
> >>>>>
> >>>>>
> >>>>> alternate "real" diacritics, don't quite line up either
> >>>>>
> >>>>>
> >>>>> dict =: ,&.>/"1 ((0 (0 ". '16b' , tolower@(4 5 6 7 &{)@{::) each ])
> ,.
> >>>> (1 (0 ". '16b' , tolower@(4 5 6 7 &{)@{::) every each
> >> ('</tr>';'<tr>')&(]
> >>>> <;._1~  E.)  each)) (<'<tr class="letter_separator">')&(] <;._1~
> >>>> +./@:E.every) dltb each cutLF a  NB. a is html source for
> >>>> http://pinyin.info/unicode/diacritics.html
> >>>>>
> >>>>> twist =:  4 u: ({. every dict)  (]  ({~  ?@#)@:(dict {::~ ])`[@.((#
> >>>> dict) = ]) i.)("_ 0) 3 u: ]
> >>>>>
> >>>>> ,. cut twist someasciitext
> >>>>>
> >>>>> ----- Original Message -----
> >>>>> From: Eric Iverson <eric.b.iver...@gmail.com>
> >>>>> To: Source forum <sou...@jsoftware.com>
> >>>>> Sent: Tuesday, July 5, 2016 5:22 PM
> >>>>> Subject: [Jsource] j805-beta-9 release candidates
> >>>>>
> >>>>> New tested builds for windows/linux/mac 32/64
> >>>>>
> >>>>> This beta release has some significant performance improvements
> >> courtesy
> >>>>> Henry Rich.
> >>>>>
> >>>>> See http://www.jsoftware.com/download/jengine for more details,
> >>>>>
> >>>>> If interested please install and play with these builds. Problems are
> >>>> much
> >>>>> better found now than later.
> >>>>>
> ----------------------------------------------------------------------
> >>>>> 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
> >>>>
> >>> ----------------------------------------------------------------------
> >>> 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
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to