Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Hindi font not working on copy paste #76

Open
saurabhdaware opened this issue Aug 1, 2020 · 4 comments
Open

Hindi font not working on copy paste #76

saurabhdaware opened this issue Aug 1, 2020 · 4 comments
Labels
bug Something isn't working don't know how to solve We haven't figured out how to solve this

Comments

@saurabhdaware
Copy link
Owner

Describe the bug
The font works when you type it with the keyboard but does not work when you copy-paste from a different website. This is probably happening because of different Unicode so the font taken from Wikipedia, has different characters than the characters it get from typing.

Not really sure how we can fix this

To Reproduce
Steps to reproduce the behavior:

  1. Go to Wikipedia and copy any hindi font
  2. Paste it in textarea. The handwritten font will be replaced with a normal text
@saurabhdaware saurabhdaware added bug Something isn't working Unclaimed Issue is open for anyone who wants to claim and start working on it don't know how to solve We haven't figured out how to solve this labels Aug 1, 2020
@prafulla-codes
Copy link
Contributor

I'll try to work on this

@saurabhdaware
Copy link
Owner Author

Yeah sure @Pika1998 not quite sure how to solve this though so we will have to figure it out

@saurabhdaware saurabhdaware removed the Unclaimed Issue is open for anyone who wants to claim and start working on it label Oct 2, 2020
@prafulla-codes
Copy link
Contributor

I did try to debug it, but it seems this problem is unsolvable because I think the general characters used in Hindi_Font and the font used in Wikipedia are made up of different characters

Here is a possible solution
We use an intermediary translation tool (Perhaps an API which translates our copied clipboard text to English & then we try to convert that to some general hindi font which supports all characters typed using English) I hope it makes sense lol.

@saurabhdaware
Copy link
Owner Author

yeah that makes sense. Will need to find something that does that for us

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working don't know how to solve We haven't figured out how to solve this
Projects
None yet
Development

No branches or pull requests

2 participants