cubing / alg.cubing.net

▶️ Multi-purpose puzzle viewer – the old generation of alg/reconstruction viewing and sharing. Superseded by Twizzle.
https://alg.cubing.net
Other
186 stars 32 forks source link

Pick a good textarea font. #37

Open lgarron opened 10 years ago

lgarron commented 10 years ago

I don't think monospace is appropriate here (@qqwref once spent a whilte trying to convince me of this).

Still, I think we can do better than Helvetica. (In particular, primes could be more prominent.)

lgarron commented 10 years ago

I've been using Verdana for a while, and I like it. The spacing is pretty good, and I like the simple capital Rs.

Helvetica

screenshot 2014-02-22 12 33 55

Verdana

screenshot 2014-02-22 12 33 16

lgarron commented 10 years ago

Futura. I kind of like it, but:

screenshot 2014-06-25 17 17 19

lgarron commented 10 years ago

Start a speedsolving.com thread about the best cubing font?

jettero commented 6 years ago

I definitely think monospace is required for the text area. It's the only way you can get the comments to line up neatly in a right margin style.

No real reason you'd have to agree with me … I plan to maintain my own fork. Even if it's just .move { font-family: monospace; } rebased to the top, I'm happy.

What are the reasons for not using a monospace font? I can't think of any.

lgarron commented 6 years ago

I definitely think monospace is required for the text area. It's the only way you can get the comments to line up neatly in a right margin style.

If you want to be able to align comments, I would rather support a table view:

R' D' F Cross
L U L' F2L
R U R' U R U2 R' LL

That also works when comments need to wrap. Indenting comments in monospace is very likely to make them wrap if you don't provide better tools.

I've wanted to implement that in v2 for a long time.

lgarron commented 6 years ago

What are the reasons for not using a monospace font? I can't think of any.

You replace all the kerning of natural reading with something designed for code. This is especially noticeable for ', which is very common in cubing.

No real reason you'd have to agree with me … I plan to maintain my own fork. Even if it's just .move { font-family: monospace; } rebased to the top, I'm happy.

I would recommend using a custom page styling browser extension in that case. ;-)