Questions tagged [metafont]

4 questions
1
vote
1 answer

What is the type of the below argument in Pyx?

The official documentation describes that layers can be used to set the occlusion of rendered elements canvas.layer(name, above=None, below=None) This method creates or gets a layer with name name. A layer is a canvas itself and can be used to…
Makogan
  • 8,208
  • 7
  • 44
  • 112
1
vote
1 answer

CSS transition with fonts

This is a tricky question: Does CSS transition with fonts work with font-weight and font-family? See for example: https://www.cqrl.in/dev/font-transition.html This is actually a Donald Knuth MetaFont question that will make Douglas Hofstadter…
Sukii
  • 267
  • 2
  • 8
1
vote
1 answer

How to extract readable source code from a .web file?

I'm trying to dig into the source for Donald Knuth's Metafont compiler. However, I am getting bogged down in his toolchain. What is the best way to extract readable, navigable, source code from one of Knuth's .web files? I am toying with doing a…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
0
votes
1 answer

Is the metafont language a context free grammar?

Is the metafont language a context free grammar? I am new to lexer/parser/compiler writing, and am trying to get a general idea how hard it would be to write a metafont compiler.
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100