Is there an option to influence WhatsApp display text direction instead of automatically according to the language? - whatsapp

When starting with Latin characters and continuing with Hebrew characters, WhatsApp shows the paragraph in left-to-right, where the intention is right-to-left.
Is there a way to "tell" the recipient device what is the desired paragraph direction?

In a computer you should be able to inset LRM (https://en.wikipedia.org/wiki/Left-to-right_mark) to force the toolkit to render in LTR mode. I am unsure how is this implemented on each of the platforms WhatsApp works (HTML, Android and IOS).

Related

Displaying a text document from base64 in Webkit

Here is a base64 URI for a simple text document:
data:#file/plain;base64,VGhpcyBpcyBhIHRlc3QhIFRoaXMgaXMgb25seSBhIHRlc3QhCg==
I would like to display this in the normal fashion a browser may display a text document. In many browsers (such as Firefox) this is readily achievable by setting the source of a hyperlink to the base64 URI. But on Webkit, from my own testing and from others who use Webkit browsers, this does not work. Instead of displaying the text document, nothing happens.
My question is, is this a bug or a feature of Webkit? Alternatively, is there a way to make this work on Webkit that involves extra steps I am unaware of? Images encoded as base64 display correctly on Webkit using the same methodology, so I cannot imagine why text documents would not.
You can test this yourself in your browser (whatever it is) here.

Is it possible to change font size for telegram bot?

I have a telegram bot and want to send text in a bigger font. How is it possible to do so using node.js?
There is limited support of HTML and Markup in Telegram, but it is not possible to increase the font size. See Formatting Options.
One option is to use bold and italic to achieve a nice formatting (see example in Python)
update.message.reply_text('Some *boldtext*' and some _italictext_',
parse_mode=telegram.ParseMode.MARKDOWN)

VoiceOver UIAccessibilityAnnouncementNotification tone of voice

Using UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, string); to announce things with VoiceOver. This works great for summaries etc.
The problem is in announcing entered/deleted text, VoiceOver uses a deeper tone when echoing the text you enter, and deeper still when you delete text. The documentation mentions no way to control the tone of Voice, is there some unicode character you can put in the string or any argument you can pass to do this?

Screen reader in PDF

Does anyone use or know about Screen readers in PDF such as NVDA?
I wanna figure out some question about screen readers in PDF:
What screen reader can read PDFs? I mean, What should I use, If I wanted to create a PDF Reader(for example with C#)?
How can I use a special language(Such as Hebrew or Persian) in screen readers? Can I change default language to special language in a screen reader?
IF I can change default language, What shall I do?
YMS is kind of correct with his answer.
1.What does screen reader support by PDF?
The screen reader that has the most support is JAWS, this is because Freedom Scientific and Adobe have worked extremely close together. NVDA has pretty good support as well. ZoomText has hit or miss support in Adobe Reader, and next to none in Acrobat.
I mean, What should I use, If I wanted to create a PDF Reader(for example with C#)?
Honestly, don't even try. It took Freedom Scientific roughly 10 years to get JAWS and Acrobat/Reader working together decently.
2.How can I use a special language(Such as Hebrew or Persian) in screen readers? Can I change default language to special language in a screen reader?
See my answer on localising strings, but JAWS does not even support those languages. So I would tag the first page as an image and put an alt of "This PDF is in Hebrew, please return to the main page to get a ___ version." I don't know those languages, so I don't know if it is more practical to provide a straight English version or a romanization of the languages you mentioned.
AFAIK, screen readers and PDF files (in general) do not get along very well. You can however use PDF files specially created to be used with screen readers. See this post for more details: What are “PDF tags” and why should I care?
For a non-optimal solution, you will need a component that allows unicode text extraction from a PDF file. You will find many questions and answers about PDF text extraction here in SO.
you could find information on webaim website: http://webaim.org/techniques/acrobat/

Is there any way to sync audio with text. I have to highlight text "word by word" for audio file

Is there any way to sync audio with text. I have to highlight text "word by word" for audio file. I have no idea on how to begin with this. I have not yet worked on Audio files. Which View (UITextView or UIWebView) should i use to display my text for the implementation of this feature ? I'm building this as an iPad Book reading App.
All suggestions are welcome.
 
- Thanks in advance
There is an open file format LRC which specifies time and lyrics for audio files. You can adopt this format to easily into your application.
Hope this helps.
Try implementing a voice recognition software such as PolitePix OpenEars then as each word is recognized change the color of it in your app. OpenEars will only recognize words specified so it is a great option for children's stories.