Created attachment 61570 [details] Presentation refered to in #1 Validated by http://odf-validator.rhcloud.com/ Specific message: MATRIX Presentation.odp/styles.xml[2,17868]: Error: attribute "fo:font-size" has a bad value Ferry
LO operates on the garbage-in garbage-out principle here, i.e. the bugdoc already contains fo:font-size="0pt" and that is then written out unmodified. that's not a valid font size, so i guess enforcing a minimum of say 1pt on import/export should fix this.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c9699f82edf67a55f4cfdd885fa779b13d816c87 fdo#49876: ODF export: do not export font-size="0pt" The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a4e3055818f7d5b22cd1c5577fc17ebbe4d38f96&g=libreoffice-3-5 fdo#49876: ODF export: do not export font-size="0pt" It will be available in LibreOffice 3.5.7. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=93d781b42c9596fddedc863ecc0740a7a84c072a&g=libreoffice-3-6 fdo#49876: ODF export: do not export font-size="0pt" It will be available in LibreOffice 3.6.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to comment #1) > that's not a valid font size, so i guess enforcing a minimum > of say 1pt on import/export should fix this. > Permissible are also values smaller than 1 - I wonder if we do not kill legitimate uses cases e.g. in Draw with 1pt?
(In reply to comment #5) > (In reply to comment #1) > > that's not a valid font size, so i guess enforcing a minimum > > of say 1pt on import/export should fix this. > > > Permissible are also values smaller than 1 - I wonder if we do not kill > legitimate uses cases e.g. in Draw with 1pt? seriously? the toolbar size box in Draw seems to have an enforced minimum of 2pt ... same for the "Character format" dialog. and you do have to zoom to 400% to be able to read 2pt.
(In reply to comment #6) > seriously? > Yes.