-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added Hindi Chars #15
Conversation
Cool, thanks. but मात्रा ? |
src/text.jl
Outdated
@@ -269,6 +269,40 @@ font = Dict( | |||
'š' => Bool.([0 1 0 1 0 ; 0 0 1 0 0 ; 0 0 0 0 0 ; 0 1 1 1 1 ; 1 0 0 0 0 ; 0 1 1 1 0 ; 0 0 0 0 1 ; 1 1 1 1 0 ; ]), | |||
'Ž' => Bool.([0 1 0 1 0 ; 0 0 1 0 0 ; 0 0 0 0 0 ; 1 1 1 1 1 ; 0 0 0 1 0 ; 0 0 1 0 0 ; 0 1 0 0 0 ; 1 1 1 1 1 ; ]), | |||
'ž' => Bool.([0 1 0 1 0 ; 0 0 1 0 0 ; 0 0 0 0 0 ; 1 1 1 1 1 ; 0 0 0 1 0 ; 0 0 1 0 0 ; 0 1 0 0 0 ; 1 1 1 1 1 ; ]), | |||
# Hindi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Devnagari. Hindi/Marathi/Nepali can be written in the devnagari script.
If i add matras, then I would have to add every maatra to every character, that would be total of 208 characters!! What do you advise I do? |
No no, matras are individual unicode characters by themselves. See https://en.wikipedia.org/wiki/Devanagari_(Unicode_block) There is one problem -- the spacing and positioning of the matras is complex, but that is a problem for later. For now, let's get the matra shapes into the system. |
Oh ok then, I thought that I'd have to add every matra to evey character. I
add individual matras as characters!
…On Wed, 8 Jan, 2020, 9:39 PM Avik Sengupta, ***@***.***> wrote:
No no, matras are individual unicode characters by themselves. See
https://en.wikipedia.org/wiki/Devanagari_(Unicode_block)
There is one problem -- the spacing and positioning of the matras is
complex, but that is a problem for later. For now, let's get the matra
shapes into the system.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AGJALB2MW5PAGJ23TBAVFHLQ4X3CTA5CNFSM4KEJX3DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINCQAI#issuecomment-572139521>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGJALB4BGVIMRUER7BFFFO3Q4X3CTANCNFSM4KEJX3DA>
.
|
removed an extra space Co-Authored-By: Kim Fung <fungtszto@gmail.com>
I'm making all the matars of the normal size i.e. I am not shrinking them to their perspective size right now, because doing that would make most of them indistinguishable. Edit: I am making them as tiny as possible to be as close to the real perspective size as possible |
added all matars |
No description provided.