Hi Prince developers!
Thank you for developing this tool. It's wonderful.
It trying to use Prince in this prototype project to display OpenLyrics XML with chords in pure CSS. I need some tricky formatting... I found an interesting layout bug: Inline-block element formatted to 100% width don't respect that parent box is inline-block too. See this example (chord "E/Gisz" on the end of the line, end new line in the text).
1. It's a little bit complicated, so I made a simple sample for you: https://jsfiddle.net/gLwxxvh9/2/
If you comment out 13. line ("width: 100%;") you can easier understand what happens.
I attached HTML and Prince 11 PDF output ("Sample").
2. And I made a simple test case for you: https://jsfiddle.net/qomxmcao/2/
I attached HTML and Prince 11 PDF output ("Test case").
This is the last hard issue in this prototype. If you can solve this bug, project is successful. If you find interesting this project, you can use it as sample, I'm open for that.
Gellért Gyuris
Thank you for developing this tool. It's wonderful.
It trying to use Prince in this prototype project to display OpenLyrics XML with chords in pure CSS. I need some tricky formatting... I found an interesting layout bug: Inline-block element formatted to 100% width don't respect that parent box is inline-block too. See this example (chord "E/Gisz" on the end of the line, end new line in the text).
1. It's a little bit complicated, so I made a simple sample for you: https://jsfiddle.net/gLwxxvh9/2/
If you comment out 13. line ("width: 100%;") you can easier understand what happens.
I attached HTML and Prince 11 PDF output ("Sample").
2. And I made a simple test case for you: https://jsfiddle.net/qomxmcao/2/
I attached HTML and Prince 11 PDF output ("Test case").
This is the last hard issue in this prototype. If you can solve this bug, project is successful. If you find interesting this project, you can use it as sample, I'm open for that.
Gellért Gyuris