logoalt Hacker News

Show HN: Make cursed fonts like Times New Bastard

334 points • by MitPitt • yesterday at 10:53 PM • 49 comments • view on HN

A joke tool that abuses OpenType's ligature feature to mix fonts. It works pretty fast on client-side by loading Python in WASM.


Comments

mortenjorck • today at 6:51 PM

I have never felt quite so cacklingly nefarious as a designer as I did just now carefully adjusting vertical scale and offset so that the x-height and baseline of Papyrus optically match Comic Sans when mixed together.

I don't yet know who I'll be pranking with the downloaded font, but I look forward to their reaction.

➕ show 1 reply
krelas • today at 8:15 PM

If you want to make a designer have a nervous breakdown, upload a copy of Helvetica and make every second or third character be Arial.

➕ show 2 replies
Sharlin • today at 7:24 PM

Inspired by the sample text for "Nervous Sans": "Anal", an Arial with bad keming

➕ show 1 reply
Fliwatt • today at 7:19 PM

There is a lot of fun stuff you can do with fonts. A friend of mine made a self-censoring font: Paranoia Sans https://github.com/flegfleg/Paranoia-Sans

dvh • today at 6:36 PM

For extra fun, you can make font that are the same as original but then you add ligature for some words and you make ligature using the same font but spelling different word. For example "red" ligature will be "green".

➕ show 1 reply
qurren • today at 9:56 PM

My LinkedIn UI already looks like that

https://imgur.com/a/FCmzWNa

and I don't know who to report it to. I guess it's owned by Microsoft so also not surprised.

6thbit • today at 7:45 PM

Huh, didn't know the font could control variations over nth glyhph!

Could one make in theory a regular monospaced font to just render glyphs past 80 chars of a line as bad as possible?

california-og • today at 6:31 PM

Some of these effects are actually really easy to do with CSS @font-face & unicode-range. See: view-source:https://hlnet.neocities.org/font-face-tricks

dyingkneepad • today at 7:11 PM

Royal Ransom Note just downloaded! It will be great to never have to cut magazines again!

altairprime • today at 7:33 PM

Temu Sans is an absolutely beautiful demo choice. I love this. Thank you for making it.

➕ show 1 reply
thewakalix • today at 7:58 PM

> Bastardica can make simple fonts feel a little, hmm, richer?

This is truly the YTP of fonts.

philjohn • today at 7:07 PM

temu sans is beautifully on point

➕ show 1 reply
ZeWaka • today at 6:43 PM

This is beautiful. I think I'll have to use this for a game.

➕ show 1 reply
NietzscheanNull • today at 6:53 PM

This is great!

FYI for the creator, I'm hitting an error when attempting to change the mix-in font (Webkit/iOS):

  Something went wrong: Out of bounds memory access (evaluating '_PyRun_SimpleString(r)')
0gs • today at 9:47 PM

if people want to play with font generation in a non joke -- and frankly way LESS impressive -- manner, i made likeface.net too. it's a little buggy. but it's cheap and it's generous with redraws

lelanthran • today at 6:27 PM

I have to admit, I spent way more time on this than required (giggling madly at my creations)

morbusfonticuli • today at 8:11 PM

I love it! Every click on the title will also change its bastard font :-)

thecaio • today at 8:20 PM

Temu Sans cracked me up

htrp • today at 6:46 PM

This looks like the cut out magazine ransom letters you see in every movie.

➕ show 1 reply
epiccoleman • today at 6:33 PM

Love this, I had a lot of fun and more than a few laughs messing around with it.

xnx • today at 6:34 PM

Nice logo interaction too!

jrochkind1 • today at 6:42 PM

Thanks, I love-hate it.

zf00002 • today at 8:54 PM

Really fun op!

lathoa • today at 9:06 PM

I like it

logicallee • today at 8:11 PM

Nice, I like it. The fonts are very interesting and captivating.

aanet • today at 8:08 PM

My eyes!!!

khalic • today at 7:08 PM

Seeing the results makes me unreasonably angry… nice job :D

busymom0 • today at 6:48 PM

Bookmarked for future use!

peter_d_sherman • today at 9:09 PM

This is interesting -- not from the perspective of different fonts (although that's interesting too!), but from the perspective of it's a web page that can apparently render fonts on the fly...

That means that it's probably using some library in JavaScript or WASM to implement that.

If that's the case, then I'm thinking, you know, that functionality, that is, font rendering on demand could, in theory, be placed into a CloudFlare Worker (or other Serverless service, i.e. AWS Lambda, Azure Functions, Google Cloud Functions, OCI Funcions, IBM Cloud Code Engine, Alibaba Function Compute, etc., etc.)...

That could be useful for a variety of applications... including (but not limited to!) word processors, typesetting software, homemade browsers, online games, heck, really anything where custom fonts are needed...

There could be two distinct benefits with this, let's call it a "FaaS" (Fonts as a Service!) idea:

1) No need to bundle/ship/include a font rendering engine with software that needs one.

2) Extra layer of security -- Local font rendering software is typically Turing-Complete, and as such, the local font renderer could potentially run viruses and other unwanted programs. I.e., local font rendering is a security risk. By hermetically sealing that code into serverless function, offsite of the local machine and having that serverless function send only fully rendered font data one way, the attack surface of the font rendering engine is effectively removed from any local PC.

This being said, the disadvantage is that it couldn't be used if the Internet or server or cloud provider is down for any reason.

Graphical font data, once created and downloaded, could however be cached by clients for offline situations / offline usage / offline work.

So, there are some interesting ideas here...

mock-possum • today at 6:15 AM

Whoa this is really cool. Wish I had an excuse to use it for something… hmmm.

➕ show 1 reply
phren0logy • today at 6:55 PM

Thanks, I hate it.

electric_mayhem • today at 6:54 PM

This is absolutely diabolical and should not be put into the hands of humanity.

What have you unleashed? Hey, look guys we got the next Oppenheimer over here.

imshaikot • today at 8:30 PM

[dead]

iFarted • today at 8:57 PM

[dead]