Cudatext: Did something happen to style color rendering recently? RGB color strings no longer displayed correctly.

Created on 1 Aug 2021  路  7Comments  路  Source: Alexey-T/CudaText

I'm running CudaText 1.139.5.1 on Linux x86_64.
Last I remember the color strings were displayed correctly.
I've tried both gtk2 and qt, same incorrect result.

image

Also tried different ui/lexer themes. While the surrounding styles changed, the absence of color and the strange shadow text is like that in the image I included.

The above image is with the C lexer, but the same thing is happening with the python lexer.
image

With CudaText gtk2 1.138.1.0 on FreeBSD x86_64 the color strings are showing up correctly. They use to show up correctly on Linux as well.

Here are the same sections in FreeBSD CudaText:
C
image

Python
image

bug

All 7 comments

I started from scratch on settings and the problem did not exist.

I copy my previous user.json over and the problem came back.

I narrowed it down to "underline_color_size" : 11

In the past I'd used 10 or 11, but now those settings cause the bizarre rendering.

underline_color_size

How to paint HTML color codes:
  value<10: paint the underline of specified width, in pixels
  value=10: colorize the text background
  value=11: colorize the text background, but inside the function brackets

On FreeBSD with 1.138.1.0 gtk2, "underline_color_size" : 11 looks like what I was use to:

image

I have some reproduction of the bug.

Fixed beta is here: http://uvviewsoft.com/c/

With that beta "underline_color_size" : 10, and "underline_color_size" : 11, now once again give me the effect I was looking for, they both seem to produce the same effect though.

image
image

Yes! It does! I'm closing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alexey-T picture Alexey-T  路  3Comments

junguler picture junguler  路  5Comments

Alexey-T picture Alexey-T  路  4Comments

Alexey-T picture Alexey-T  路  5Comments

Alexey-T picture Alexey-T  路  5Comments