using Consolas font in mintty breaks vim ambiwith handling

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

using Consolas font in mintty breaks vim ambiwith handling

Xuefer Tinys
previous I post about the ambi character handling at http://vim.1045645.n5.nabble.com/wrong-handling-Chinese-quote-character-td1223424.html
it is already nicely done using "set ambiwidth=double" with is for font SimSun

however with font Consolas 12pt eith single or double ambiwidth failed to be processed correctly

software and settings to reproduce:
mintty: font set to Consolas 12 point
Cygwin x64: version as shown below:
$ uname -a
CYGWIN_NT-6.1 mOo-PC 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 Cygwin
mintty 1.2-beta1 (x86_64-pc-cygwin)
$ LANG=C vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 13 2013 01:07:02)
Included patches: 1-1314

set ambiwidth=single (using single is correct here)
Character “

file
======== test.txt ===
  中文测试1
  <a>““““““““““““““““““</a>
  中文测试2
  中文测试3
=====================
simply move cursor from top to bottom
i get
======== test.txt ===
  中文测试1
  <a>““““
  中文测试2
  中文测试3
=====================
move cursor from bottom to top
i get
======== test.txt ===
  中文测试1
  中文测试2
  中文测试2
  中文测试3
=====================

any following condition change from above is not reproduced
a. change system to linux, using same cygwin/mintty ssh to linux, run vim under linux, vim version: 7.3 Included patches: 1-762 Modified by Gentoo-7.3.762
or b. change font to SimSun, set ambiwidth=double

--
--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_multibyte" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Loading...