Page 1 of 1

Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 10:44 am
by iPlayer
I mean, Arial, Verdana and Tahoma are cool and stuff, but to highlight in-line pieces of code or variables, Courier New or monospace seems much more appropriate.

Image

Please! :)

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 11:00 am
by La Muerte
Could you provide us with a list of desired fonts so we can add them all at once?

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 12:08 pm
by iPlayer
So, ehm, a little discussion took place between me and Muerte in Steam, and we couldn't come to a conclusion.

My point: "sans-serif", "serif" and "monospace" aliases must be included in the list:
Image
Because simply selecting, for example, Courier New to highlight a variable will not make it highlighted on some linux systems (Ubuntu, for example, doesn't include Courier New).
Selecting "monospace", on the other hand, will make it so the end-user browser will choose between "Courier New" and "Lucida Console" by itself. So the variable will stay highlighted even if you browse from toaster.

Muerte's point: he better explain it himself. But things I understood from him:
1. Monospace isn't a font, it's a font family, so including it in the same list will confuse the users
2.
it is better practise to really define the font rather then let the browser decide for you
so you have control over what happens

3.
and people can customize however much they want anyway by typing it manually


Update: In the end of discussion Muerte agreed to make group titles (Serif, for example) clickable so that they will insert the proper font family.

What do you guys think?

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 12:14 pm
by Ayuto
Looks good, but which font does it take when clicking on the font family?

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 12:17 pm
by iPlayer

Code: Select all

[font=monospace][/font]
And it will expand to different monospace fonts on different systems. On Windows, Courier New. On Linux, probably FreeMono or something.

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 1:25 pm
by Mahi
I'm personally more with iPlayer here. While it's important for some to be able to precisely customize the looks of the text, I believe those are the minority and most of us are fine with "this part should look like code" instead of choosing the exact font. I'm still not against having the exact fonts in the list too for those who want it, but I'd much rather prefer just a few simple options.

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 1:27 pm
by decompile
Mahi wrote:I'm personally more with iPlayer here. While it's important for some to be able to precisely customize the looks of the text, I believe those are the minority and most of us are fine with "this part should look like code" instead of choosing the exact font. I'm still not against having the exact fonts in the list too for those who want it, but I'd much rather prefer just a few simple options.


Pretty much everything said here.

Re: Add more fonts to fonts selection list

Posted: Sat Sep 17, 2016 1:31 pm
by La Muerte
Ayuto wrote:Looks good, but which font does it take when clicking on the font family?

I haven't the slightest idea either.

Anyway since its really just a matter of personal opinion as to which one is better or which is worse, we decided to take the best of both worlds by making Serif, Sans-Serif and Monospace also selectable directly, which required a little work-around but it does the job.