Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/alphafont/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Make rio and libframe play nicer with fonts with fractional
alpha channels, by always using stringbg and not string.
Using plain string will redraw the text on top of what is already
there.  If the text is partially transparent, the underlying text
bleeds through.  Since rio grays out text in non-foreground 
windows, using plain string results in text getting darker and
darker as you switch between text windows.

This attempt certainly fixes bugs present in previous attempts
involving selected text and losing the tick.

I have tested it quite a bit and believe it has a good chance of being correct.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].