aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/glyphnode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix text renderingSimon Hausmann2014-08-181-0/+1
| | | | | | | | | | | | | | Since we don't save/restore the painter state for each node, we have to be careful that settings don't "leak" across paint calls. For example a rectangle node with a gradient will leave the painter with a brush set. A sub-sequent child text node will be rendered incorrectly. This patch corrects that by setting the brush explicitly to the empty brush. This fixes also the examples/quick/views rendering. Change-Id: Ia1415b5fdf77a560b02719917d36298e808418f1 Reviewed-by: Louai Al-Khanji <louai.al-khanji@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Added support for the missing text rendering stylesSimon Hausmann2014-08-141-1/+25
| | | | | Change-Id: Id1d3d518fbde6f2d8329850c4966b0576b36be36 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix add-on nameSimon Hausmann2014-08-121-1/+1
| | | | | Change-Id: I7df5c64a5035bcec317b7a837d4c7f499f21ab53 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Add commercial license headersSimon Hausmann2014-08-121-0/+19
| | | | | Change-Id: Iffa31b2d644ebc7e13e710fff4aee28e2a3f67c7 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Basic support for text renderingSimon Hausmann2014-08-081-0/+47
Change-Id: I365c44b596f8866df2aff4e9f5e088bec0010539 Reviewed-by: Lars Knoll <lars.knoll@digia.com>