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

Stéphane Guillou (stragu) <stephane.guil...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.1.3.2 release             |5.4.0.3 release
                 CC|                            |stephane.guillou@libreoffic
                   |                            |e.org
            Summary|HTML exported depends on    |Save as > HTML gives
                   |monitor resolution          |different table sizes
                   |                            |depending on monitor
                   |                            |resolution or font scaling
             Blocks|                            |108799
             Status|UNCONFIRMED                 |NEW
                 OS|Windows (All)               |All
     Ever confirmed|0                           |1
           Keywords|                            |filter:html
          Component|LibreOffice                 |filters and storage

--- Comment #11 from Stéphane Guillou (stragu) 
<stephane.guil...@libreoffice.org> ---
(In reply to David Obber from comment #8)
> Created attachment 179675 [details]
> Git repo of a simple gradle project
> 
> I've built a simple class where I've successfully tested that changing the
> font size in windows screen settings (from 100% to 125%) has a relation with
> the html produced exporting the bookmark BK_TESTO_LIBERO. It still happens
> even with the version 7.3.2

I had to git reset --hard the unzipped git repository in attachment 179675 to
see the files.
For Windows testers, would be good to explain how to use the script, e.g. that
it needs specifying the location of soffice.exe as an argument to gradlew run,
etc.

In any case, I was able to reproduce on Ubuntu 20.04, using GNOME's "Large
Text" accessibility setting:

1. Open attached OTT
2. Save as > HTML (Writer)
3. Close, change DE setting to "Large Text"
4. Repeat steps 1-2

Results: differently sized tables in resulting HTML files, even though the size
is the same in-app.

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

As well as a recent master build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e26aeb882dd236adf19679d5df9b7ba5da1ed226
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

... and at least since 5.4.0.3.

A diff of the two resulting files shows that the only dimensions affected are
related to tables: table width / cellpadding; col width; td width / height.

Not reproducible with Export > XHTML.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108799
[Bug 108799] [META] HTML and XHTML export bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to