ii8 / havoc

minimal terminal emulator for wayland
Other
103 stars 17 forks source link

How to change font transparency? #4

Closed Unesty closed 5 years ago

ii8 commented 5 years ago

The font is always fully opaque at the moment.

ii8 commented 5 years ago

I just thought about this again.

Font transparency would require extra code for alpha blending in the critical section of the drawing loop.

In havoc I can make the background transparent but leave the font fully opaque. If I want the font to be partially transparent along with the background, often the compositor can do that instead (usually in hardware).

The remaining case is where I want the font to be more transparent than the background, but I'm not sure this would ever be useful or desirable.

Why did you want this feature?

Unesty commented 5 years ago

I want to see through symbols. Using compositor to change transparency is easier than changing config or source code.