Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Is SF particularly bad for German?

Anecdote: For some time San Francisco had the wrong glyph for the German character Capital Sharp S - the „ẞ“.

SF rendered the glyph as a ligature of two combined S letters, you can see this in this screenshot of a Wikipedia page compared to SF in Safari’s UI:

https://imgur.com/6wxr4Rw

Pretty much every other font which included a Capital Sharp S uses a shape which is more similar to the lowercase ß – and there were over time a lot of variation proposed:

https://web.archive.org/web/20141024232352/http://www.signog...

For non German speakers: There exists an orthographic rule in German to render the lowercase ß as SS in uppercase in low fidelity environments and sometimes also for line breaks. For some reason English speakers sometimes interpret „ß“ and „ss“ as interchangeable, which is somewhat wrong. But I can see how an English speaking monolinguist tries to optimise things.

Most of the time that orthographic rule works. But it is after all a low fidelity variant, similar how the ü → ue pattern loses some information. To always use an SS ligature robs the reader of discrimination: Is „MASSE“ an uppercase variant of „Masse“ or of „Maße“? That’s particular significant for personal names which should be written exact, even in uppercase. There are reasons why typography introduced an „ẞ“, it then got encoded into Unicode - it fills a small need.

Apple had this wrong glyph in San Francisco from Mac OS El Capitan up until Mojave and elsewhere, including its web sites. It was rather absurd to report this bug to Apple: Radar/Feedback dialogue wasn’t really equipped to report a font bug and secondly both the Feedback reporter and Apple’s developer website used San Francisco at its font, making illustrating the report with glyphs rather annoying. And of course, as usual with bug reports to Apple: You’ll never get feedback.



Oh! I might know a little bit about this because I stumbled over something similar.

So you can transform text with CSS to be upper case (text-transform: uppercase). It turns ß to a double-S glyph as well in all browsers! Firefox now has a feature flag for it (layout.css.text-transform.uppercase-eszett.enabled). Why: Because unicode still defines it though in casing guidelines:

> # The German es-zed is special--the normal mapping is to SS.

> # Note: the titlecase should never occur in practice. It is equal to > titlecase(uppercase(<es-zed>))

> https://unicode.org/Public/UNIDATA/SpecialCasing.txt

And given that ẞ only made it into German orthography in 2017 and San Francisco is release in 2014 and Mojave only 2018, I don't think it is that big of a mess-up. That they only supported it after. I bet there are loads of fonts that still don't support the character and having double-S is better than nothing.

Edit: Kind of proud how I am using css-transforms and a few more CSS hacks to get it working on my mom's website in the title: https://gutshaeuser-ostpreussen.de/gutshaus/details/gross-bl...

Edit to the Edit: Even the DIN 1451 doesn't support uppercase ẞ and e.g. the popular FF DIN (which San Francisco seems to be based on) is turning ẞ into double-S.


> And given that ẞ only made it into German orthography in 2017

As a character it was proposed first in 2004 and encoded in 2007.

> I bet there are loads of fonts that still don't support the character and having double-S is better than nothing.

Oh yes, of course. But those then don’t display „SS“ instead of „ẞ“ but either a missing glyph or a glyph from a fallback font.

> Edit: Kind of proud how I am using css-transforms and a few more CSS hacks to get it working on my mom's website in the title: https://gutshaeuser-ostpreussen.de/gutshaus

That’s a nice hack! Congratulations.

(gutshäuser-ostpreußen.de or rather xn--gutshuser-ostpreuen-1tb6g.de is still free, if you’ll want a new challenge. But I advise against using an IDNA domain with an „ß“ for e-mail. Evergreen browser are now updated for the IDNA2008 algorithm, which supports the „ß“, but for a long time first IDNA2003 didn’t support „ß“ in internationalised domains, then browser didn’t update to IDNA2008 until late in 201x. And other internet software like mail clients are even more behind. Sadly.)

There is an old proposal for the CSS WG floating around to enable custom alterations for text-transform or even custom transformations, since it is useful in other languages. That then would be a non-hacky way:

https://wiki.csswg.org/ideas/at-text-transform?rev=145951992...

https://specs.rivoal.net/css-custom-tt/

I first asked the CSS WG back in 2011 and they already knew about the problem. That proposal sadly still doesn’t seem to go anywhere.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: