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

Add support for unicode font variants #217

Closed
joanmarie opened this issue Apr 13, 2019 · 1 comment
Closed

Add support for unicode font variants #217

joanmarie opened this issue Apr 13, 2019 · 1 comment

Comments

@joanmarie
Copy link

joanmarie commented Apr 13, 2019

Step to reproduce: In a terminal, execute: "spd-say 𝓯𝓸𝓸"

Expected result: Something intelligible would be presented.

Actual result: "Letter 1d4ef, letter 1d4f8, letter 1d4f8"

Impact: These font variants cannot be presented in a sane fashion by any client of speech-dispatcher (including, but not limited to, Orca).

Rather than having every speech-dispatcher client do the translation, it would be great if speech-dispatcher could handle this on behalf of all clients. Thanks in advance!

@sthibaul
Copy link
Collaborator

Mmm, I agree that this kind of translation should be handled by speech-dispatcher. I don't think that the low-level speech syntheses will handle such kind of font variant anyway, so speech-dispatcher can just do it.

sthibaul added a commit to sthibaul/speechd that referenced this issue Jun 8, 2019
This will be useful for font variant replacement support for brailcom#217.
sthibaul added a commit that referenced this issue Jun 10, 2019
This will be useful for font variant replacement support for #217.
Nardol added a commit to Nardol/speechd that referenced this issue Jun 10, 2019
Add a script to import symbols dictionnary and a make import-symbols into locale directory.
The script is in locale/import-symbols.py
The  following dictionaries are imported:
* NVDA symboles dictionaries from NVDA sources;
* Unicode CLDR characters to add emojis support (locale/<lang>/emojis.dic), fixes brailcom#49
* Unicode font variants from UnicodeData.txt (locale/en/font-variants.dic), fixes brailcom#217

Last NVDA symbols dictionaries and font-variants.dic have been imported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants