mtbc: maze I (white-red)
[personal profile] mtbc
For many years PostScript® was my go-to means of generating mathematical diagrams. I used to live near the American Mathematical Society and daydreamed of having a job coding illustrations for them. One should not be deceived by the machine-readable horror generated by PostScript printer drivers: it is a nice language. For example, in creating the simple logo,

corporate logo
my underlying PostScript code introspects into the outline of the letters defined by the font to nestle the a and e together perfectly. Similarly, for charts I would write the raw data into arrays and have layout code running in the printer to render them according to the current page width and suchlike, rather like one might now do in JavaScript using jqPlot. Printing documents that embed such code can take a while as the printer thinks but it is not like it was otherwise doing anything better with the time. These days I must resort to cheaper printers so I end up embedding fonts and converting such documents into PCL6 before printing.

PostScript is becoming increasingly obsolete: if nothing else it makes Unicode awkward. I am thus thinking that perhaps I ought to move to using a vector graphics library from some general-purpose programming language, one that allows me to easily create precise diagrams just as PostScript does. (The hand-placed arrows I see in people's PowerPoint slides appall me.) Years ago I would have opted for Cairo which outputs into PNG and PDF but does that remain a good choice or is it starting to rot as all the cool kids move to a shinier new world?

Date: 2017-09-11 07:05 am (UTC)
emperor: (Default)
From: [personal profile] emperor
For diagrams in my LaTeX documents I use TikZ, which does produce reasonable output.

Profile

mtbc: photograph of me (Default)
Mark T. B. Carroll

December 2025

S M T W T F S
 12 3456
78910111213
14 15161718 19 20
21222324252627
2829 3031   

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 1st, 2026 07:20 pm
Powered by Dreamwidth Studios