Can GTK blur text like it supports Bold, Italics and Underline in the views and Graphs?
A blur would be helpful for making screenshots for posting in questions and for making tutorial videos. It is labor-intensive to build sample genealogy data. If the Gramps GUI could apply a blurred text style for living persons and/or Private marked data, then we could use personal data for training and demos without worrying about exposing private data. A hotkey toggle would let users do quick screen grabs in the middle of a session.
Discourse has a blur for private info:
- This is a spoiler blur. : This is a
[spoiler]
spoiler[/spoiler]
blur.
In CSS, the approach is to set the text foreground color to fully transparent and show only a text-shadow. (The Shadow could inherit the Tag “RGB
” values but layer the “a
” transparency value.) However, text-shadow isn’t universally supported in all browsers and can be defeated by copy&paste into a text editor without styling support.
.blurry-text {
color: transparent;
text-shadow: 0 0 5px rgba(0,0,0,0.5);
}