Random characters in Fontlab [duplicate]

I’m working on a project where I want to make a font, but it’s more like a pattern generator.

Here are 2 pictures to show what my concept is:

enter image description here

enter image description here

With some scripts is it possible that I want to do?

I found a typeface, called Duffy Script, where the designer wanted to achieve the same result as me with Contextual Alternates, but it’s just pseudo-random. If I open the preview panel and hit (for example) the a a few times then delete it, and do it again, i get the same order again and again. So it’s not different every time when I hit the a key.

If any more info needed to answer my question, let me know!


Its not possible for the font to be random. Mainly because that would make the document different every time you rerender it*. The font program reads its state from what is written.**

You can still do something like this by making certain fonts invisible that prime local seed after this the psoudorandom chain is different. However there are easier ways to generate random sequences***. What is your usecase.

* While it could be interesting that the page looks different every time you scroll off page. Identifying separate prints not so useful.

** Note this used to be possible in the postscript font era.

*** You can embed postscript, it can behave like this.

Source : Link , Question Author : 22_4 , Answer Author : joojaa

Leave a Comment