Fonts and Colors

Discuss anything related to product development
Post Reply
seasoned_geek
Posts: 257
Joined: Thu Jun 11 2020 12:18 pm

Fonts and Colors

Post by seasoned_geek »

I'm working on a new release of RedDiamond on Ubuntu 22.04 and I periodically compare it to other editors. I've always noticed that font rendering was poor when compared to others, even Emacs. It appears that something is a wee bit hosed with color processing as well. Today's comparison was with CudaText. https://cudatext.github.io/

Using the same 9 point DejaVu Sans Mono in Book style, here is CudaText
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-15-56-43.png

Here is RedDiamond using the latest (as of about two weeks ago) CopperSpice
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-15-56-22.png

When background changed to match
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-16-04-08.png

Changing to a matching background helps "some" but if you look at the screen grabs you will see a much smoother font rendering in the CudaText image. Another significant oddity was exposed by trying to match the background color. This I've noticed with most every editor I've tried to mirror a theme from. You can cut and past the #RGB code and it is nowhere near the same. It was really glaring with CudaText

https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-16-06-42.png

If one tries to match the numeric values using our color chooser.
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-16-07-46.png

What one has to do to "match" the actual color is
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-16-07-21.png

It's like the Alpha Channel and Val are completely reversed/swapped.

I know, everybody has complaints and the to-do list is unending, but getting colors right should be a high priority. All user interfaces are going to "just be off" and you won't know why.

The font rendering should be rather high as well. It may take forever to find, but it is probably something just as simple. Even the Ubuntu terminal does a nice clean font render without being grainy.

https://www.logikalsolutions.com/wordpress/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-16-31-05.png

Is this grainy font thing fallout from whatever got implemented for Hi DPI support? I'm only asking because I don't have any 4K monitors. Looking at stuff on a basic 24 inch Lenovo Group Limited monitor with 1920/1080 (16:9) resolution and I can see the grains.
Post Reply