Why does this paragraph look like this in PDF preview:
Preview.png
but like this in the actual PDF, with the background image much larger than it is supposed to be:
PDF Output.png
Here is the relevant (I think) section of the stylesheet. I write the note and then apply the NotesIcon class to the paragraph. The actual size of the Notes_Icon.png is shown as 20 x 20 pixels in Flare. I don't think the background-size parameter is honored in PDF output as I can put any number I want in there and the result is the same.
Yeah some CSS isn't supported by PDF generators, and this seems like this is one of them. The generators seem to be black boxes for supported properties though, so it's a bit trial and error.
One thing you could try is also specifying the width, in case it's just the 'auto' height value that isn't understood.
Or try a test page that just has an element with a background image and size specified, and nothing else, to see what happens then.
I found this thread while looking for a solution to a problem that's similar to the one in this thread. My problem was that the PDF output was repeating a background icon twice. Not more than twice, though.
I tried replacing the background properties that were specified individually with the shorthand - and it worked.
Flare 2024 bound to Azure Git via Visual Studio Code
_[shapeonthewall]_ wrote: ↑Wed Jun 05, 2024 3:45 am
I found this thread while looking for a solution to a problem that's similar to the one in this thread. My problem was that the PDF output was repeating a background icon twice. Not more than twice, though.
I tried replacing the background properties that were specified individually with the shorthand - and it worked.