Bahman Eslami wrote:
> On Wednesday, November 28, 2018 at 8:39:04 PM UTC+1, Bram Moolenaar wrote:
> > Bahman Eslami wrote:
> >
> > > > On 27 Nov 2018, at 23:17, Bram Moolenaar <Bram@moolenaar.net> wrote:
> > > >
> > > >>
> > > >> On Monday, April 30, 2018 at 9:58:54 AM UTC+2, Bram Moolenaar wrote:
> > > >>> Felipe Vieira wrote:
> > > >>>
> > > >>>> I have tried the above solution and the following:
> > > >>>>
> > > >>>> http://vim.1045645.n5.nabble.com/arabic-font-td1161759.html
> > > >>>>
> > > >>>> Still can't get Farsi to work. I get those "<200d>" characters.
> > > >>>>
> > > >>>> I have tried gvim with
> > > >>>>
> > > >>>> :set guifont=Courier\ New\ 10
> > > >>>>
> > > >>>> For instance.
> > > >>>>
> > > >>>> Website for example:
> > > >>>>
> > > >>>> http://www.unics.uni-hannover.de/nhtcapri/persian-alphabet.html
> > > >>>>
> > > >>>> It displays nicely on my firefox.
> > > >>>
> > > >>> The Farsi support in Vim is outdated. It doesn't work with Unicode.
> > > >>> We are waiting for someone to re-implement it, or merge it with the
> > > >>> Arabic support.
> > > >>
> > > >> I also wonder why there is no option to disable farsi or arabic on vim
> > > >> compile. The terminal I use supports bidi text, so in order to build
> > > >> the vim correctly for my terminal, I have to change config and
> > > >> features file in the source to disable farsi and arabic, which is
> > > >> inconvenient if I want to keep updating the vim.
> > > >
> > > > What do you mean? There are both options and features to enable/disable
> > > > Arabic and Farsi. E.g. there is FEAT_ARABIC and the 'arabic' option.
> > > >
> > >
> > > I mean while compiling there is no flag for disabling 'farsi' or 'arabic'. I know I can change the source code for FEAT_ARABIC (which is how I do it now) but that's not the way to go for long run in a case vim gets updated. The reason I want to disable them using flags is because I use the 'huge' flag for building the vim from the source. Actually someone suggested this flag a year ago using a patch but it didn't went through:
> > >
> > > https://github.com/vim/vim/pull/1867 <https://github.com/vim/vim/pull/1867>
> >
> > That patch has slipped down in the todo list, I'll move it up a bit.
> >
> > > I think adding the disable flag for these features would be helpful
> > > since many text engines do the bidi rendering nowadays and enabling
> > > these features is just useless and for my case destructive.
> >
> > I don't see how disabling the feature at build time is required. If you
> > don't set 'arabic' then that is the same, right? If not, please explain
> > what goes wrong with just building with FEAT_ARABIC.
>
> Hey Bram,
>
> In a case a user doesn't want to have arabic nor faris in the vim, they
> can build the vim with the 'normal' feature flag but they would miss
> other features like langmap, but if they want to build it with langmap
> feature, they need the 'huge' feature flag which also includes the
> arabic. There is also no flag to disable nor enable arabic while
> building the vim. So the only way to disable them is to change the
> source which is how I do it.
You are missing something. You can build Vim with the Arabic and/or
Farsi feature, but so long as you don't set the 'arabic' or 'fkmap'
options then nothing should be different. You haven't answered the
question why anything changes without setting those options. I always
build with huge features and don't get any Arabic stuff because it's not
enabled by the option.
--
"I know that there are people who don't love their fellow man,
and I hate those people!" - Tom Lehrer
/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_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.
Thursday, November 29, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment