On 06 March, 2015 - Robert Helling wrote:

> Hi,
> 
> > On 06.03.2015, at 00:52, Gehad Elrobey <gehadelro...@gmail.com> wrote:
> > 
> > I managed to print a QTextDocument directly after generating the HTML code 
> > by Grantlee with Qt5.
> > I attached a pdf of the print out.
> 
> as I said, my worry is not so much that you can use templates to generate 
> some html. I am concerned that the Qt subset of html is not expressive enough 
> to produce decent layouts beyond simple tables. To get an idea what people’s 
> paper divelogs look like in the wild, do a google image search for “dive log 
> template”. Compared to what we have now, we need much better control over 
> spacing (inclunding whitespace, there we currently waste far too much 
> precious room on the paper), fields for which we don’t have information 
> should in many cases not be displayed and the room be used for what we 
> actually have etc. For me, for example, beyond the very basic information 
> (date, depth, time, location, buddy), the notes are by far the most important 
> textual element and should occupy sufficient room (in a decent font size).

As far as i can understand http://qt-project.org/wiki/QtWebEngine , Qt's
html renderer is based on chromium so i don't think its lacking any
bells and whistles.


//Anton

-- 
Anton Lundin    +46702-161604
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to