Live data from Hacker News

Proving the Turing Completeness of Fonts

litherum.blogspot.com

11–15 of 15 posts

Re: Proving the Turing Completeness of Fonts

#11
Excerpt: "Also, each mapping in the table acts as an “if” statement because it only executes if the pattern is matched."

This can be generalized as: Pattern Matching = if statement.

I don't know nor can I prove that that's true under all circumstances, however...

But, an interesting article.

Re: Proving the Turing Completeness of Fonts

#13

Isn't basically every moderately expressive system Turing complete? Even the Magic the Gathering card game is turing complete https://www.toothycat.net/~hologram/Turing/HowItWorks.html

That doesn't make it any less fun to find out /how/ they are Turing complete!

Re: Proving the Turing Completeness of Fonts

#14
post #6
post #3

Fonts aren't really something I've dived into. Could someone explain at what level this is happening. What classes of software/libraries are affected?

GSUB handling is done by a library called a text shaper. Examples of libraries that do shaping include the cross-platform HarfBuzz, Windows DirectWrite, and macOS Core Graphics/Core Text.

Thanks

So from what I understand these would be called from the UI libraries eg GTK in Linux land. I would assume window managers also, to deal with title bars.

I would further take from this that we shouldn't expect full Unicode support in virtual terminals (not emulators) in the future.....

Re: Proving the Turing Completeness of Fonts

#15
I think this is extremely interesting. Not to dismiss the author's work, but merely performing addition is far from Turing complete. Addition is primitive recursive, a much smaller class of functions than say, generally recursive. Although in this case I have no reason to doubt that GSUB isn't Turing complete, because recursive symbol substitution is powerful enough.
Post reply on HN