Monday, May 22, 2017

Re: :right command on Chinese characters

On Sunday, May 21, 2017 at 8:15:50 PM UTC+8, Tim Chase wrote:
> On 2017-05-21 19:54, Joey wrote:
> > When I run :right command in gvim, it's ok, like this:
> >
> > 彼外道常说自然,我说因缘。——楞严经
> >
> > But if I open the txt file with Word, it's like this:
> >
> > 彼外道常说自然,我说因缘。——楞严
> > 经
> >
> > The last character is returned to the next line, what's wrong?
>
> Does the result change in any of the following cases:
>
> - you set 'tw' to something smaller or 'wm' slightly larger?
>
> - you set the font smaller in Word?
>
> - you increase your left/right margins in Word?
>
>
> I suspect what's happening is that, since Vim does the
> right-justification with spaces, Word is displaying all those spaces
> and then not having enough room to display the last character, so it
> bumps it to the next line. So the first "solution" would have vim
> add fewer spaces before the right-justified text in the actual
> document, while the second & third ideas increase the number of
> characters that Word should be able to fit on a line.
>
> -tim

I have set the same 80 characters per line for both Vim and Word, in my opion, they should display the same, am I wrong?

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: