[PATCH] Profile: add white outline to all text

Dirk Hohndel dirk at hohndel.org
Fri Jun 28 13:30:55 PDT 2013


On Fri, 2013-06-28 at 16:36 +0300, Lubomir I. Ivanov wrote:

> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
> 
> Goal: no blending between profile text and graph lines
> 
> Qt doesn't seem to provide an easy-to-go solution in terms
> of styling the z-order of the pen and brush layers of a
> QAbstractGraphicsShapeItem (or alternatively pen offset),
> which is needed if for example one likes the pen not
> to cover the text fill.
> 
> Calling QGraphicsSimpleTextItem->setPen() on small text can
> cover bigger portions of the text, as the pen ends on top of the
> fill and given the pen stroke path ends up scaling exactly
> at the fill path border but not on the outside, for example.
> 
> Since we don't get quick control over that (and to avoid
> the issue in a naive way), we set the text as bold
> and the white outline lands over the "bold-ed" area of glyphs.


So here is how that looks for me...



While I appreciate the idea, I'm a bit torn on whether this is an
improvement.
Basically I would love an outline around the original characters on the
left. 
But the massive thinning out of the characters that we get as a
side-effect... 
I'm not sure that's better.

/D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130629/fc20056e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unknown-V8H5YW
Type: image/png
Size: 21603 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130629/fc20056e/attachment-0001.png>


More information about the subsurface mailing list