Skip to content

Selection of font "Space Mono" for code display is not ideal #528

@pzelchenko

Description

@pzelchenko

image

On the Processing.org website (example), I have to take exception on the use of Colophon's "Space Mono" for code. Code doesn't parse like regular text. The absence of any hook on the minuscule "j" in the style used makes it read like an "i". "i" and "j" are the most common names for iterating-variables for nested loops, and that's been the case since your grandfathers' time ("i" stood for "integer" or maybe "iterate" and then you'd use i, j, k, etc.). I can't for the life of me imagine why the CSS selects OpenType stylistic set "ss02", which features that truncated "j". Perhaps even more troubling is that the comma and period are very difficult to distinguish at the default size (14px), and naturally that's a fatal problem for reading code. Please find a suitable solution. This issue costs me and my students time basically every day. Removing "ss02" only resolves the "j" problem, but you're still left with the comma/period conundrum (I'm not sure what the use of "ss04" and "ss05" have in store for the user, but it's also worth investigating).

So, you may want to choose a different font or let Colophon help you revise the font or find some other solution. If you want me to be involved in figuring out an appropriate solution, let me know. I've already sent basically the same report to Design Systems International, since they appear to have been involved at one point, but I don't know who makes font decisions now.

https://processing.org/examples/graphing2dequation.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions