this post was submitted on 09 Nov 2023
543 points (95.8% liked)

Technology

34987 readers
616 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
 

The way they talk about it makes it sound like they invented the written word, but that notwithstanding the fonts actually look really nice in my opinion.

you are viewing a single comment's thread
view the rest of the comments
[–] maegul@lemmy.ml 6 points 1 year ago (3 children)

Even the textual healing? That seems to require a dynamic process that analyses the text, no?

Or are fonts capable of that?

[–] Die4Ever@programming.dev 18 points 1 year ago (1 children)

Contextual alternates are normally used for certain scripts, like Arabic, where the shape of each glyph depends on the surrounding glyphs. And they are also used for cursive handwriting fonts where the stroke of the “pen” might have different connection points across letters. Texture healing is a novel application of this technology to code.

basically fonts were already capable of using alternate versions of characters based on their nearby characters, so they used that for these fonts to allow for seemingly-dynamic sizing/spacing

[–] JakenVeina@lemm.ee 5 points 1 year ago

I was actually gonna ask about this point, thanks for the context.

[–] doc@kbin.social 11 points 1 year ago

Open type fonts have these capabilities built in. It's up to the designer to implement it in useful ways like this.

[–] dave 2 points 1 year ago

It’s in the article:

This swapping is powered by an OpenType feature called “contextual alternates,” which is widely supported by both operating systems and browser engines.