notofonts / math

Noto Math
SIL Open Font License 1.1
25 stars 4 forks source link

Wrong symbols for multi-storey brackets #44

Closed Mercury13 closed 5 months ago

Mercury13 commented 1 year ago

Title

Wrong symbols for multi-storey brackets

Font

NotoSansMath-Regular.ttf

Where the font came from, and when

Site: this repo, beta branch Date: 2023-03-15

Font Version

2.539

OS name and version

W10 22H2 (IDK other OS)

Application name and version

Probably all apps

Issue

Symbols for multi-storey brackets do not construct those brackets, even approximately

  1. For example, write 23B0 23B1
  2. Hook and hook
  3. Should be a two-storey curly bracket

For this all parts of multi-storey bracket should be carefully placed.

  1. Extensions should protrude a bit beyond OS/2 size.
  2. The rest (e.g. parenthesis hooks 239B/9D) should be within OS/2 size.
  3. And that should really be a part of large bracket/integral/sum.

Character data

U+2320 top half integral U+2321 bottom half integral U+239B left parenthesis upper hook … U+23B3 summation bottom

Screenshot

image

simoncozens commented 1 year ago

I'm not convinced that this is true. It's not ideal but at the same time it's not wrong; trying to do math typesetting without using a math typesetting engine is just going to end up in frustration, so I don't think the font should support that.

dscorbett commented 1 year ago

These characters are meant for terminal-based math layout without a dedicated math typesetting engine. If the font doesn’t support terminal-based math layout, it shouldn’t include these characters, but it seems simple enough to fix them and keep them in the font.

U+23B0 UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION and U+23B1 UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION are different from the rest because they might not need to connect across lines; see https://github.com/be5invis/Iosevka/issues/1089#issuecomment-850897381. However, their current glyphs almost connect across lines, so they are either too tall or not tall enough.

khaledhosny commented 7 months ago

I don’t this belongs to Noto Sans Math. Such uses should be supported by Noto Sans Mono or Noto Sans Symbols. I’d rather drop these code points from Noto Sans Math and keep the glyphs solely for use in MATH table glyph assemblies.