-
Notifications
You must be signed in to change notification settings - Fork 6k
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
bad position some character (... , !) in farsi subtitle #11214
Comments
but other characters(?) are correct position. so the problem is not related to alignment and right-to-left direction. |
Can you provide us with some test media, so we can test with this? |
|
our app has registration and you can't test that directly subtitle file: a video stream for sample: |
Is this issue reporting that positioning of some characters is wrong in RTL subtitles? If so I think it's a duplicate of #2194 as you've already linked. Or is it reporting this:
If it's the latter please provide complete and clear information about what 'losing focus' means in this case, and what the resulting symptoms are. |
I continued the issue (#2194), but someone said please make a new issue. my problem is the positioning of some characters is wrong in RTL subtitles and I can't use subView.setViewType(SubtitleView.VIEW_TYPE_WEB) as a solution, because I lose focus. |
when starts to play on android tv, no widget in the player doesn't have focus( player controller, and any focusable view in the player), but when one time closes the player controller and again I make it show the player controller, the focus returns. But when I delete the following line :
|
Bug
I want to show Farsi subtitles, but some characters show at the beginning of the sentences. While the main sentence, those are at the end of the sentences.
characters for example are: ! - ,
there is a similar issue: #2194
I set subView.setViewType(SubtitleView.VIEW_TYPE_WEB) for player view (I didn't use separated subtitleview, I handled subtitles in the main player) the problem was resolved. but when I use subView.setViewType(SubtitleView.VIEW_TYPE_WEB) lose focus on android tv.
Apparently, the subtitle view takes focus when using subView.setViewType(SubtitleView.VIEW_TYPE_WEB).
I used BidiFormatter for testing, but I can't add some requirement parameters (language, id, and ...) and I can't test that.
The text was updated successfully, but these errors were encountered: