Page 1 of 2

Monospace Font

Posted: Tue Apr 20, 2010 4:30 pm
by Dusk Eagle
I think that it would be much better if the forum were to use a monospace font. As it is, go diagrams look very messed up and are hard to follow in text-mode. Bringing in a monospace font would both make it easier to see a Go diagram in editing mode as well as when you click the "Show Diagram Code" button.

Anyway, thanks for the forum Jordus. Hopefully we'll get all the old members over here soon enough :).

Re: Monospace Font

Posted: Tue Apr 20, 2010 4:38 pm
by wms
You can always use code tags if you want monospace:

Code: Select all

. X |   |  
.---+---+---
. O | X | 
.---+---+---
. O |   | X


And variable width is so much easier to read. Let's leave it as-is.

Re: Monospace Font

Posted: Tue Apr 20, 2010 4:41 pm
by Dusk Eagle
I personally find neither one easier to read. However, code tags do not work while you are editing a message.

What if the font that was used while editing was monospaced, but the actual font when posted was variable-width? That way, go diagrams can still be edited easily, but the site will still be easy to read for those who like variable-width?

Re: Monospace Font

Posted: Tue Apr 20, 2010 4:44 pm
by xed_over
Dusk Eagle wrote:What if the font that was used while editing was monospaced, but the actual font when posted was variable-width? That way, go diagrams can still be edited easily, but the site will still be easy to read for those who like variable-width?

I agree

I was going to suggest the code tags too, but then realized you're talking about editing posts

Re: Monospace Font

Posted: Tue Apr 20, 2010 4:46 pm
by wms
Ah, I didn't know that you meant during editing. You have a point. Once diagrams are here, monospace will be much easier to use. I wouldn't be against doing it as you say.

A truly excellent approach would be a full go-as-text editor written in javascript, but I don't expect that to come any time soon so monospace may be the right answer.

Re: Monospace Font

Posted: Tue Apr 20, 2010 5:34 pm
by fwiffo
Yeah, at first I thought you meant the forum's general font, but I agree that the editor should be monospace.

Re: Monospace Font

Posted: Wed Apr 21, 2010 7:19 am
by Marcus
I also believe the editing font should be a monospace font.

Re: Monospace Font

Posted: Wed Apr 21, 2010 8:45 am
by unkx80
+1.

Re: Monospace Font

Posted: Wed Apr 21, 2010 9:12 am
by Jordus
. X | |
.---+---+---
. O | X |
.---+---+---
. O | | X


So wrap you text with

Code: Select all

[font=monospace]monospace text[/font]


is that what we were looking for"?

Re: Monospace Font

Posted: Wed Apr 21, 2010 9:14 am
by fwiffo
No - the problem is that the font used in the <textarea> part of the editor is not a monospace font. So if you're editing a go diagram, things look all wonky while you're editing it. It's not hard to fix (just have to edit a stylesheet in the theme).

Re: Monospace Font

Posted: Thu Apr 22, 2010 1:37 am
by schultz
It would also be nice for the diagram code displayed below the diagrams in posts to be monospace as well.

Re: Monospace Font

Posted: Thu Apr 22, 2010 1:44 am
by Jordus
schultz wrote:It would also be nice for the diagram code displayed below the diagrams in posts to be monospace as well.


like this?

Click Here To Show Diagram Code
[go]$$Bcm151 Moves 151 to 160 This is a long title, which I am going to keep writing about. You can write paragraphs and paragraphs, and the captions should wrap correctly, and not overlap with the image. Hopefully this works on all diagram sizes. If it does, that would be cool. And nothing else to say here, I guess...
$$ ---------------------------------------
$$ | . . . . . . . . . . . . O . . . . . . |
$$ | . . . . O X . . . . X O X O O . O . . |
$$ | . O O O . X . . . X . . X X O O X . . |
$$ | . . X O . . . X . , X . . X X X O O . |
$$ | . . X O . X X X X O . O . . . X X O . |
$$ | . . . . O O O X O . . . . . X X O . . |
$$ | . . X . . . . O O . . O . . X O . O . |
$$ | . . . . O X . . . . . . X X O O . . . |
$$ | . X X . O 6 . O . O . X . . . O O . . |
$$ | . O X , X . X O . , . . . . X O X X . |
$$ | . O O X . . X O X X . X X X . X . . . |
$$ | . . . X . . . X O . . O X O X X 5 O . |
$$ | . . O X . . . X O . O . O O O . X 4 . |
$$ | . . O X . . . X O . . . O . X O O O . |
$$ | . . O . . . . O X O O . O . . X . . . |
$$ | . . O X X . . . X X X O . O . X O . . |
$$ | . . X O X . . . X . . X O . . X O . . |
$$ | . . O O X 3 . . . . . . X X . X O 0 . |
$$ | . . 2 C O . . . . . . . . . . 9 7 8 . |
$$ ---------------------------------------[/go]

Re: Monospace Font

Posted: Thu Apr 22, 2010 5:28 am
by fwiffo
Actually I think he meant the diagram code which shows when you click "show diagram code". It's font was set to a monospace font that not everyone has. I fixed it.

Re: Monospace Font

Posted: Thu Apr 22, 2010 5:59 am
by unkx80
fwiffo wrote:No - the problem is that the font used in the <textarea> part of the editor is not a monospace font. So if you're editing a go diagram, things look all wonky while you're editing it. It's not hard to fix (just have to edit a stylesheet in the theme).

Yes, this.

Re: Monospace Font

Posted: Thu Apr 22, 2010 7:40 am
by mdobbins
fwiffo wrote:Actually I think he meant the diagram code which shows when you click "show diagram code". It's font was set to a monospace font that not everyone has. I fixed it.

It is not showing up mono spaced on my Android phone.