stipub / stixfonts

OpenType Unicode fonts for Scientific, Technical, and Mathematical texts
SIL Open Font License 1.1
730 stars 41 forks source link

Missing OpenType features / glyphs for old style numbers and calligraphic letters #58

Closed davidmjones closed 6 years ago

davidmjones commented 10 years ago

Old style numbers should be provided by the OpenType feature "onum" on digits.

Calligraphic style should be provided by the OpenType feature "salt" or "ssXX" on "mathematical script" Unicode characters.

See for example Asana in http://fred-wang.github.io/MathFonts/ https://github.com/fred-wang/MathFonts/blob/master/Asana/mathfonts.css

For XITS: https://github.com/khaledhosny/xits-math/issues/32 https://github.com/khaledhosny/xits-math/issues/40

Reported by: fred-wang

Original Ticket: stixfonts/tracking/58

davidmjones commented 10 years ago

As Khaled said on the bug tracker, old style numbers are already available for the text fonts and not important for the math font.

The request for calligraphic is still valid, though.

Original comment by: fred-wang

davidmjones commented 7 years ago

I guess this is is fixed in STIX2

Original comment by: fred-wang

davidmjones commented 7 years ago

Original comment by: stipub

davidmjones commented 7 years ago

In version 2.0.0, old style numbers are available via the onum feature and calligraphic by ss01.

Original comment by: stipub

fourpoints commented 2 years ago

Calligraphic (chancery) and roundhand (script) should be made available through the variation selector characters included in Unicode 14.

If I'm not mistaken, U+FE00 corresponds to ss01 and U+FE01 corresponds to ss01.

davidmjones commented 2 years ago

Calligraphic (chancery) and roundhand (script) should be made available through the variation selector characters included in Unicode 14.

If I'm not mistaken, U+FE00 corresponds to ss01 and U+FE01 corresponds to ss01.

* [The Unicode Standard, Version 14.0, Page 12](https://www.unicode.org/versions/Unicode14.0.0/ch22.pdf)

* [XML Entity Definitions for Characters (3rd Edition), Variant Mathematical Character](https://w3c.github.io/xml-entities/index.html#chars_math-variant-tables)

Already planned as part of issue #218

tiroj commented 2 years ago

Confirmed: this is implemented in the font currently in internal beta.

image image

Because the chancery forms are the default in the STIX Two Math font, only the FE01 mappings are needed in the fomat 14 cmap subtable.

The feature will still need to be used for lowercase characters, as Unicode, in their wisdom, decided to define variation selector sequences only for the uppercase.

fourpoints commented 2 years ago

Thanks @davidmjones I was searching for "calligraphic" in the issues and that didn't come up.

@tiroj On that row 50, Zscript.ss01 is the only one with 0x00fe00 in that image, is that correct?

tiroj commented 2 years ago

Good catch! Thank you.

tiroj commented 2 years ago

@davidmjones I have fixed this in the sources in the dev repo but you will need to run the build process and update the Fonts folder for testing and before pushing to the public repo.