ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Core Text renderer in Snapshot70 cannot render wide-character text correctly #470

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As the summary, Wide-Character text(like Chinese or Japanese) cannot be render 
correctly with MacVim7.4 Snapshot70, by default.
It is not a encode problem.
Unchecked the [Use Core Text renderer] option, everything will be ok.

Original issue reported on code.google.com by sniperbat@gmail.com on 15 Aug 2013 at 1:27

GoogleCodeExporter commented 9 years ago
Please give me an example which fails.

Original comment by bjorn.winckler@gmail.com on 15 Aug 2013 at 3:05

GoogleCodeExporter commented 9 years ago
I tested it again with [Use Core Text renderer] option checked on, 
1.Double click and open the file with suffix like .txt .cpp. The character will 
be render correctly,
2.Drag the file into MacVim, incorrect.
3.Input the Chinese text directly into MacVim, incorrect.
4.Open file from menu, incorrect.

Original comment by sniperbat@gmail.com on 15 Aug 2013 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
I can't reproduce the problem.  Please try without your configuration files 
(e.g. "mvim -u NONE -U NONE").

What font are you using?  Maybe try another one and see what happens.

Original comment by bjorn.winckler@gmail.com on 15 Aug 2013 at 6:07

GoogleCodeExporter commented 9 years ago
This works for me as well in both terminal and GUI versions. I use Menlo font 
which supports fairly wide char set. Those block fonts are indicative of too 
narrow font. 

Original comment by veritas....@gmail.com on 16 Aug 2013 at 12:22

GoogleCodeExporter commented 9 years ago
I'm sorry for misinformation。
I figure it out, this is not MacVim problem, is plugin problem.
The plugin is "powerline".
When enable "let g:Powerline_symbols = 'fancy'", Texts will render incorrectly.
comment it out, then everything is OK.
Thank you respond.
Best regards

Original comment by sniperbat@gmail.com on 16 Aug 2013 at 11:38

GoogleCodeExporter commented 9 years ago
No worries. Glad you figured it out.

Original comment by bjorn.winckler@gmail.com on 16 Aug 2013 at 12:19