View Single Post
Old 07-09-2016, 12:23 AM   #584
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,481
Karma: 28000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chorpler: Ah you are having trouble with wrapping text. Well there are a couple of other approaches you can try. One is to use QSvgRenderer with SVG that species the text with appropriate fill and stroke properties. IIRC SVG supports that -- though I may be misremembering.

Another possibility is to use HTML + CSS for the layout, with QWebView. WebKit supports text stroking, https://css-tricks.com/adding-stroke-to-web-text/
kovidgoyal is online now   Reply With Quote