Is there a way to change the PHP $ variable symbol to a different colour. My eyesight isn't the best and also I'm dyslexic, so I tend to struggle a bit with the likes of $STOP, $TOP, $$STEP Etc. I prefer to use a lot of capitalized variable names as they are clearer to read. I have set up my personal Geany colour scheme, but I just can't find where to change the $ colour. Any help will be great :)
Many thanks,
Chris.
On 2021-09-09 4:28 a.m., Chris wrote:
Is there a way to change the PHP $ variable symbol to a different colour. My eyesight isn't the best and also I'm dyslexic, so I tend to struggle a bit with the likes of $STOP, $TOP, $$STEP Etc. I prefer to use a lot of capitalized variable names as they are clearer to read. I have set up my personal Geany colour scheme, but I just can't find where to change the $ colour. Any help will be great :)
Many thanks,
Chris.
I created my own font with things like a much bigger $ sign, 1lI! clearly distinguishable, and a few other changes like a bigger comma.
On Thu, 9 Sept 2021 at 23:57, Ray Andrews rayandrews@eastlink.ca wrote:
On 2021-09-09 4:28 a.m., Chris wrote:
Is there a way to change the PHP $ variable symbol to a different colour. My eyesight isn't the best and also I'm dyslexic, so I tend to struggle a bit with the likes of $STOP, $TOP, $$STEP Etc. I prefer to use a lot of capitalized variable names as they are clearer to read. I have set up my personal Geany colour scheme, but I just can't find where to change the $ colour. Any help will be great :)
The lexing of code into syntactic elements (the things you gave a style to in the colour scheme) is done by the Scintilla lexers. The PHP lexer makes the $ and the STOP the same element type, so you can't distinguish the $ from the STOP in a Geany colour scheme. I guess the PHP lexer writer considered the $ part of the variable, fairly reasonable considering the W3Schools (as an example) say "In PHP, a variable starts with the $ sign"
You could try asking on the Scintilla project, or if you know C++ you could patch the PHP lexer for yourself.
Many thanks,
Chris.
I created my own font with things like a much bigger $ sign, 1lI! clearly distinguishable, and a few other changes like a bigger comma.
Did you make your font available anywhere to help others?
Cheers Lex
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2021-09-09 5:37 p.m., Lex Trotman wrote:
Did you make your font available anywhere to help others?
I don't know where I'd post it. Explain some way of posting a screen cap and I'll show you a sample. Meanwhile anyone who wants to contact me privately is welcome to a copy. It's quite fun playing with a font. I started with one of the standard monospace fonts and used FontForge to modify it. No more mistaking a colon for a semicolon or a comma for a period or a dollar sign for an 'S'. Seeems to me that an official coders font is long overdue so I just made my own.
On Fri, 10 Sept 2021 at 12:31, Ray Andrews rayandrews@eastlink.ca wrote:
On 2021-09-09 5:37 p.m., Lex Trotman wrote:
Did you make your font available anywhere to help others?
I don't know where I'd post it.
Maybe you could put it on github so others can contribute characters that bother them?
Explain some way of posting a screen cap and I'll show you a sample. Meanwhile anyone who wants to contact me privately is welcome to a copy. It's quite fun playing with a font. I started with one of the standard monospace fonts and used FontForge to modify it. No more mistaking a colon for a semicolon or a comma for a period or a dollar sign for an 'S'. Seeems to me that an official coders font is long overdue so I just made my own.
Did you try the Hack font? https://sourcefoundry.org/hack/
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2021-09-09 7:38 p.m., Lex Trotman wrote:
Maybe you could put it on github so others can contribute characters that bother them?
Never used github so that would be a new thing learned.
Did you try the Hack font? https://sourcefoundry.org/hack/
They've got basically the same idea. Mine is just monospace and monospace bold tho, as used mostly in Geany where only one font is used (and the bolding of course). Also I'm a bit more radical than Hack -- you'll never mistake a 1 for an l for an I ... that's one, el, eye. I'd love to post a screencap.
I'm new to this type of activity, I presume this sort of thing is a forum by email, like "death by chocolate"... Although, I might be so so wrong!!
Are you aloud to email your screen shot of your font to me? I could display it on my near empty website, or is this idea all wrong?
I don't know my AR5E from a hole in the ground :)
Cheers,
Chris.
On 10/09/2021 03:30, Ray Andrews wrote:
On 2021-09-09 5:37 p.m., Lex Trotman wrote:
Did you make your font available anywhere to help others?
I don't know where I'd post it. Explain some way of posting a screen cap and I'll show you a sample. Meanwhile anyone who wants to contact me privately is welcome to a copy. It's quite fun playing with a font. I started with one of the standard monospace fonts and used FontForge to modify it. No more mistaking a colon for a semicolon or a comma for a period or a dollar sign for an 'S'. Seeems to me that an official coders font is long overdue so I just made my own.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2021-09-11 2:40 p.m., Chris wrote:
I'm new to this type of activity, I presume this sort of thing is a forum by email, like "death by chocolate"... Although, I might be so so wrong!!
Are you aloud to email your screen shot of your font to me?
I dunno if there's a way to send it via the forum if not just contact me by email ... but how to do that securely? Mind, a screenshot would be best since maybe others would like a copy too.
On Saturday, September 11, 2021 05:40:11 PM Chris wrote:
I'm new to this type of activity, I presume this sort of thing is a forum by email, like "death by chocolate"... Although, I might be so so wrong!!
Are you aloud to email your screen shot of your font to me? I could display it on my near empty website, or is this idea all wrong?
I'm not the OP (he is Ray Andrews) but I'd like to see the font and have the ability to download and use it.
So I'd like to suggest to you (Chris) that you consider posting both a screenshot and the actual font file(s) on your website, assuming the won't take up too much "space" (size of files, bandwidth for downloading) and that Ray agrees.
I don't know how much space font file(s) take up (nor do I know whether it is one file or several (one for bold, one for not bold, maybe files for various font sizes??).
Ray: How much space do the font files take up, and are you willing to let Chris put them on his site (assuming he agrees).
If not, I'm assuming there is some place that would host those files (for free) if you agree.
Hmm, do you have a license on the fonts? Which?
On 2021-09-12 5:08 a.m., rhkramer@gmail.com wrote:
On Saturday, September 11, 2021 05:40:11 PM Chris wrote:
So I'd like to suggest to you (Chris) that you consider posting both a screenshot
Just uploaded to the site Chris gave me.
agrees.
I don't know how much space font file(s) take up (nor do I know whether it is one file or several (one for bold, one for not bold, maybe files for various font sizes??).
It's just one file, size is 340272, not much different than stock. In Geany there seems to be no issues with the bold font because AFAICT bolding is only used for keywords which never give any confusions. IOW I get all the clarity I want with just DejaVuSansMono.ttf modified.
Ray: How much space do the font files take up, and are you willing to let Chris put them on his site (assuming he agrees).
Heck yes. It's just a few modifications unexpertly done. Fontforge is very confusing and the fonts themselves are monstrously complicated. I just dragged a few points around, an expert would probably laugh at it. What would be cool is if an expert was inspired by my hack and did it properly. Dunno, maybe I'm violating DevaVu's copyright or something and they'll have me arrested ;-)
If not, I'm assuming there is some place that would host those files (for free) if you agree.
Hmm, do you have a license on the fonts? Which?
Nothing. Free for the taking. Public domain. (Again, if DejaVu doesn't mind.)
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Dunno, maybe I'm violating DevaVu's copyright or something and they'll have me arrested ;-)
Nah you're fine https://dejavu-fonts.github.io/License.html