Skip to content

Conversation

ebraminio
Copy link
Collaborator

@ebraminio ebraminio commented Apr 13, 2018

Fixes #779, the original font is copyrighted and I wanted to create a subset using hb-subset or pyftsubset but I need a hand here as their result doesn't look correct, so I guess I need to do it manually?

The fix itself looks legit as the same is done for DEVANAGARI LETTER RRA also apparently.

After the change,

build/util/hb-view "Bangla Akademi.ttf" --unicodes="09DC 0020 09DD 0020 09A1 09BC 0020 09A2 09BC"  --shapers=ot

a

@@ -1472,6 +1472,8 @@ decompose_indic (const hb_ot_shape_normalize_context_t *c,
case 0x0931u : return false; /* DEVANAGARI LETTER RRA */
case 0x0B94u : return false; /* TAMIL LETTER AU */

case 0x09DCu : return false; /* BENGAlI LETTER RRA */
case 0x09DDu : return false; /* BENGAlI LETTER RHA */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“BENGAlI” should be in all caps.

Copy link
Collaborator Author

@ebraminio ebraminio Apr 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Done

@kuntalkundu
Copy link

thanks for response developers. Now what can I do please tell me. You said this font has a copyright issue so If you want I can send you some free Bengali Unicode font which has too same problem with those particular letters. Please give me some suggestions.

@kuntalkundu
Copy link

Here I attached few bengali fonts which has same issue in Nuqta dot in Libre Office.
Nikosh.zip

@behdad
Copy link
Member

behdad commented Apr 25, 2018

Thanks @ebraminio. The commit adding the existing two (b01d9b3) says it does because uniscribe doesn't. So I'm happy adding these two if uniscribe doesn't either. Would be nice to discover more.

@@ -1472,6 +1472,8 @@ decompose_indic (const hb_ot_shape_normalize_context_t *c,
case 0x0931u : return false; /* DEVANAGARI LETTER RRA */
case 0x0B94u : return false; /* TAMIL LETTER AU */

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for the new-line here. Just sort these two with the previous two. Also add link to github issue.

@ebraminio ebraminio force-pushed the bengali branch 2 times, most recently from c8f07dd to 2a1a6f0 Compare April 26, 2018 05:36
@ebraminio
Copy link
Collaborator Author

@kuntalkundu, thanks!

@ebraminio
Copy link
Collaborator Author

@behdad, applied the changes, have a look if now looks ok.

@kuntalkundu
Copy link

attaching few more fonts from same font family, Please check
Desktop.zip

@behdad behdad merged commit 9925030 into harfbuzz:master Apr 26, 2018
@ebraminio ebraminio deleted the bengali branch April 27, 2018 09:17
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 this pull request may close these issues.

Bangla font rendering problem with letter ড় ঢ় in LibreOffice 6.0 with some bengali fonts
4 participants