zmsoft / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

Monospaced text #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently there are no HTML tags or CSS styles that would allow monospaced text

Original issue reported on code.google.com by appmat...@gmail.com on 28 Apr 2013 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by mimm...@google.com on 29 Apr 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Just curious, what kind of content would you like to display on Glass that 
requires a monospace font?

Original comment by mimm...@google.com on 4 May 2013 at 4:51

GoogleCodeExporter commented 9 years ago
Not the submitter, but I could imagine a StackOverflow Glassware where you ask 
a question and can then swipe through a couple lines of code on each screen...

Or a review tool glassware where you can swipe through a couple logs of diffs 
(while sitting on a subway when you can't take your laptop out of something) 
and add voice notes...

Almost anything coding related. :)

Original comment by lna...@gmail.com on 8 May 2013 at 7:00

GoogleCodeExporter commented 9 years ago
I have a couple of (limited) use cases where I want a couple of lines of 
numbers to line up, and a monospaced font would be useful in these cases.

Original comment by Prison4...@gmail.com on 28 May 2013 at 7:22

GoogleCodeExporter commented 9 years ago
@Prison4044: Would you mind sharing these cases? :)

Original comment by mimm...@google.com on 28 May 2013 at 8:06

GoogleCodeExporter commented 9 years ago
Some of what I'm exploring are converting spreadsheet data, sometimes in a 
limited form, to timeline cards.  The data I'm taking it from varies in each 
case, but consider something like

Balance Before:   2210.37
Changes:            55.13
Balance After:    2265.50

or

Balance Before:   2210.37
Changes:           (10.17)
Balance After:    2200.20

Consider even the case of a transaction receipt:

Subtotal: 100.00
6% Tax:     6.00
          ======
Total:    106.00

Now cut and paste these into a text editor with a monospaced font. {:

Original comment by Prison4...@gmail.com on 28 May 2013 at 8:16

GoogleCodeExporter commented 9 years ago
And thinking about it more, I can even see how some game score screens could 
benefit from this same kind of digit alignment. So while some things I can (and 
would want to) stick to a better font, I would want to have some digits line up 
in limited cases, leaning towards a monospaced font for those components.

Original comment by Prison4...@gmail.com on 28 May 2013 at 8:17

GoogleCodeExporter commented 9 years ago
For these cases why would you use monospaced text over an HTML table?

Original comment by mimm...@google.com on 28 May 2013 at 8:28

GoogleCodeExporter commented 9 years ago
The digits themselves lining up (and lining up on the decimal point) is part of 
what is important. It gets more important for larger numbers. So while it is 
possible to put the number in a table cell and right align that cell, the 
leftmost numbers may get far enough out of alignment to make it more difficult 
to read at a glance.

I suppose it is feasible to make each digit a table cell (and this is probably 
what I would do if monospace isn't supported), but this would make it even 
stranger and more difficult to read.

Other aspects, the text, could (and probably should) be variably spaced.

(I don't know why I'm arguing so hard for this. As I said, the use case would 
be limited.)

Original comment by Prison4...@gmail.com on 28 May 2013 at 8:35

GoogleCodeExporter commented 9 years ago
Oh, I understand now.

Please don't make single character tables for presenting ledgers. :)

Original comment by mimm...@google.com on 28 May 2013 at 10:48