[openlp-dev] Need some HTML/CSS assistance for chord print support

Jochen Becherer jochen at b6r.de
Thu Dec 29 04:53:26 EST 2016


Hi Thomas,

I habe been playing around with the canvas object in the past, where you can arrange text free. If this ist an Option die you I could search for the code on my Computer. 
Just an idea ;-)

Cheers Jochen

Am 27. Dezember 2016 19:08:09 MEZ, schrieb Tomas Groth <second at tgc.dk>:
>Hi all,
>
>As some of you might know I have been working on chord support for
>OpenLP,
>and most of it has been implemented and will (hopefully) soon be merged
>into trunk. But there is still one thing missing: Support for printing
>chords. The challenge is that we have implemented chord supports using
>CSS,
>but the component we use for printing only supports a limited subset of
>CSS, and the things we need for chords to be rendered correctly is not
>supported.
>So I have tried to implement chords using tables, but my HTML/CSS
>skills
>are not good enough to crack this nut, so I hope some of you can help
>me!
>
>Here is an example of chords using CSS, which works fine:
>https://jsfiddle.net/rm3vg5m7/1/
>
>And here is the same chords using tables, which needs some work:
>https://jsfiddle.net/3mbuxquv/1/
>Feel free to fork this last one and come up with a solution where the
>line
>wraps correctly, the trick is that you must only use the HTML element
>and
>CSS properties mentioned on this page:
>https://doc.qt.io/qt-5/richtext-html-subset.html
>
>Best regards,
>Tomas
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>openlp-dev mailing list
>openlp-dev at openlp.io
>https://lists.openlp.io/mailman/listinfo/openlp-dev

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openlp.io/pipermail/openlp-dev/attachments/20161229/8a75cb6f/attachment.html>


More information about the openlp-dev mailing list