Yasuhiro Matsumoto wrote:

> On Friday, February 26, 2016 at 9:29:16 AM UTC+9, mattn wrote:
> > On Friday, February 26, 2016 at 6:17:42 AM UTC+9, Bram Moolenaar wrote:
> > > Yasuhiro Matsumoto wrote:
> > > 
> > > > Hi, list.
> > > > 
> > > > I want to merge this patch that is merged on macvim.
> > > > 
> > > > https://github.com/macvim-dev/macvim/commit/dd3bc8209b200eef75808947a29ebd260c79389a
> > > > 
> > > > Below is a patch for vim.
> > > > 
> > > > https://gist.github.com/mattn/f13f4ecaab63018b47fd
> > > > 
> > > > How do you think?
> > > 
> > > Thanks.  Maybe we should only support happy faces.
> > 
> > Well, I'm thinking we should support all of emoji as double width because 
> > unicode.org recommend the emoji to have square aspect ratio.
> > 
> > > Current practice is for emoji to have a square aspect ratio, deriving 
> > > from their origin in Japanese. For interoperability, it is recommended 
> > > that this practice be continued with current and future emoji.
> > 
> > http://unicode.org/reports/tr51/
> > 
> > > You will also need to update runtime/tools/unicode.vim
> > 
> > Okay, I'll update in later.
> > 
> > - mattn
> 
> Updated patch.
> 
> https://gist.github.com/mattn/793829abeb82ae9046b7
> 
> This is based emoji-data.txt from unicode 1.0 to unicode 6.0. Because most of 
> fonts still not have glyphs.
> 
> If you don't want to include all of emoji absolutely, the smiley's range 
> should be 0x1f600, 0x1f637.
> 
> https://en.wikipedia.org/wiki/Emoticons_(Unicode_block)
> 
> However possibly I hope my patch will be merged.

I'm not sure if this is the right solution.  Although these characters
look better when wide, it depends on the mono-spaced font what the
actual display width is.  The generation of the doublewidth table should
take care of that.

-- 
It is illegal to rob a bank and then shoot at the bank teller with a water
pistol.
                [real standing law in Louisana, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui