notofonts / devanagari

Noto Devanagari
SIL Open Font License 1.1
1 stars 2 forks source link

Incorrect rendering in Photoshop/Illustrator #37

Closed curya closed 1 year ago

curya commented 1 year ago

Font

NotoSansDevanagari[wdth,wght].ttf 2.004 NotoSerifDevanagari[wdth,wght].ttf 2.004 NotoSans[wdth,wght].ttf 2.013

Where the font came from, and when

Github releases

OS name and version

Windows 10

Application name and version

Adobe Photoshop 2023 Adobe Illustator 2023

Issue

I know nothing about Devanagari. I was just checking out this Wikipedia page and decided to copy and paste the word on the top right (द्ध्र्य). See screenshots below. Doesn't work in Adobe software, but renders just fine on fonts.google.com as well as crowbar. It's broken in both Devanagari fonts as well as Latin/Greek/Cyrillic fonts.

  1. Copy the characters into Photoshop/Illustrator.
  2. Observe incorrectness.

Character data

द + ् + ध + ् + र + ् + य = द्ध्र्य

Screenshot

Adobe: image

Fonts.google.com: image image

Crowbar: image image

EDIT: Also कि is rendering backwards: image When I copy and paste द्ध्र्य, it works fine, but for कि I have to force right-to-left in order for it to appear correctly: image

EDIT 2: I just realized that Devanagari is included in Noto Sans Latin/Greek/Cyrillic, but not in the Serif version. Shouldn't Devanagari Serif be included?

EDIT 3: I'm not even sure if any of the screenshots above are rendering द्ध्र्य correctly. If you look at the picture on the Wikipedia page, it looks nothing like the rendering on fonts.google.com/crowbar. But again, I know nothing about Devanagari...

simoncozens commented 1 year ago

Doesn't work in Adobe software, but renders just fine on fonts.google.com as well as crowbar.

I'm not surprised about this. Unfortunately you can't just paste text from a different script into Adobe software and expect it to work. Did you enable Indic Options and turn on the World Ready Composer?

"This font works but not in Adobe" is an Adobe bug.

EDIT 2: I just realized that Devanagari is included in Noto Sans Latin/Greek/Cyrillic, but not in the Serif version. Shouldn't Devanagari Serif be included?

sigh Technically, Noto LGC should not include Devanagari; it's only there in the Google Fonts version for historical reasons (someone once needed Devanagari to work in Google Workspace so they added it to Noto Sans, and now to avoid breaking existing documents we have to keep it there...)

curya commented 1 year ago

@simoncozens Actually, that was exactly the issue. I apparently pasted first and then turned on indic options. Now pasting into Illustrator works just fine. And apparently, I can just paste straight into Photoshop without changing any settings.

But is there a reason why it doesn't look like the picture on Wikipedia? They look completely different...

Wikipedia: image

Noto Sans: image

simoncozens commented 1 year ago

Yes, it depends entirely on the level of conjunct support in the font. This is quite a feature of Devanagari and other Indic scripts - there are an almost unlimited number of conjuncts that you might include in the font, but you have to draw the lime somewhere. We don't include this particular conjunct, and that's not a bug, it's just a scope limitation. See #1 for more details.