notofonts / noto-fonts

Noto fonts, except for CJK and emoji
http://fonts.google.com/noto
SIL Open Font License 1.1
2.46k stars 199 forks source link

Noto San's U+036c (phi, curly) renders identically to U+035d (phi, straight line) #2400

Open thanatos opened 2 years ago

thanatos commented 2 years ago

Defect Report

Please don't use this repository for new script-specific issue reports

We are in the progress of deprecating this repository. Each Noto script now has its own repository; please file issues there instead. The issue reporter page at https://notofonts.github.io/reporter.html will direct you to the appropriate repository.

If your issue is about the Noto project in general or the distribution of Noto fonts, please continue to fill in the report below.

Title

The characters U+036c (φ) & U+035d (ϕ) render identically.

Font

"Noto Sans Regular" is what FF says upon inspection; same with gucharmap.

Full file name, for example 'NotoSansArmenian-Regular.ttf'. You can upload the problem font here unless it is a Chinese, Japanese or Korean font (these are large).

Where the font came from, and when

The noto-fonts 20220502-3 package in Arch, I think.

Font Version

  • Mac - right mouse click on a font and try Preview to see version info.
  • Win -- right mouse click on a font (Local Disc > Windows > Fonts) and see version info on Properties.
  • Linux -- use (Gnome) Font Viewer: open a font and click on Info tab.

OS name and version

Arch Linux

Application name and version

Firefox, Discord

Issue

The character U+036c renders identically to U+035d; both are a Greek lowercase phi, but U+036c, I think, should include a "tail". Vs. U+035d, which looks like a "o" with a "|" through it. However, note that I am not a Greek speaker, native or otherwise.

See, for example, the renderings in https://www.unicode.org/charts/PDF/U0370.pdf

See also the Wikipedia article for phi; that article includes the sentence:

The lowercase letter φ (or often its variant, ϕ)

That renders as,

image

comparison with non-Noto fonts

As I type this into Github, which uses Nimbus,

image

… you can see that font differentiates the two.

Character data

Please include real character data to illustrate your issue-- Unicode codepoints are helpful. This makes it possible for developers who don't know the language or script to copy/paste the text to reproduce the issue.

Screenshot

(Inlined above.)

Tools for reporting bugs

Useful tools for reporting bugs are available at: https://github.com/googlei18n/

Harfbuzz hb-view and hb-shape

hb-view /usr/share/fonts/noto/NotoSans-Medium.ttf --text='φϕ' --output-file sample-noto.png

sample-noto

» hb-shape /usr/share/fonts/noto/NotoSans-Medium.ttf --text='φϕ'            
[phi=0+751|uni03D5=1+751]

Fontview

Fontdiff

thanatos commented 2 years ago

(Sorry, hit a firefox bug & wanted to submit this to not lose it. There's a few bits I want to fill out still, namely the HB renderings.)

thanatos commented 2 years ago

I can't find just plain old Noto Sans on the Noto Dashboard; if I could, I would download that & render w/ HB, just to be sure this isn't already fixed. Nor does this repo appear to have anything relevant in "Releases".

I downloaded this NotoSans-Regular.ttf, which at the time of writing, is HEAD of main; it has the same issues as in the bug above.