Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BiDi algorithms for RTL languages #397

Open
azadkuh opened this issue Feb 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@azadkuh
Copy link

commented Feb 8, 2016

cmus fails to properly render bidi strings in RTL (right to left) languages:

  • Persian
  • Hebrew
  • Arabic
  • ...

as:
screen shot 1394-11-19 at 12 38 45
totally wrong rendering!

the highlighted line, must be rendered as:
screen shot 1395-02-21 at 20 31 10

adding the de-facto fribidi / github library to rendering engine, would solve the problem.
lots of frameworks or apps just use fribidi, Qt / KDE, Pango / Gtk+, mplayer, vlc, ... to name a few.

i also use pyfribidi in my vim-cmus plugin to render those text properly.

@azadkuh

This comment has been minimized.

Copy link
Author

commented May 10, 2016

@flyingmutant:
as more than 500 millions people speaks (writes) in RTL languages (arabic, persian, urdu, kurdish, hebrew, ...) it would be great if cmus supports their languages properly.

@flyingmutant

This comment has been minimized.

Copy link
Member

commented May 10, 2016

I wholeheartedly agree!

The thing is, I do not have the time (and interest) to implement this myself. However, I do have time to review a pull request adding fribidi support to cmus.

Which is just a long way of saying «pull requests welcome».

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.