https://bugs.documentfoundation.org/show_bug.cgi?id=160489

--- Comment #3 from Manfredi Marceca <[email protected]> ---
To render properly in the browser you need to save as .xhtml rather than .html
(probably the explicit svg namespace is not recognized in standard HTML):

pub2xhtml path/to/Publication1.pub path/to/Publication1.xhtml

In this case the shapes are rendered similarly as you see in LibreOffice but
the text contained in them is not visible because it's to small and incorrectly
positioned. 

In the first post I missed that the text is actually there, sorry for the
confusion. So this bug report can be renamed to "pub2xhtml produces wrong tspan
font size and position", and I will open another for tables.

Also, I use pub2xhtml in combination with headless Edge/Chromium to convert
PUB->XHTML->PDF when a full LibreOffice installation isn't available. So I
would like the XHTML+SVG to be as close as possible to how the pub it's
displayed in LibreOffice Draw, it is expected that it's not exactly the same as
MS Publisher.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to