[UNO] Doc weight bigger on Debian than Ubuntu

The Application Programming Interface and the OASIS Open Document Format

[UNO] Doc weight bigger on Debian than Ubuntu

Postby Bacteries » Mon Dec 20, 2010 6:46 pm

Hi,
I have a script which use unoconv to convert odt file to doc or pdf.

On my local machine (Ubuntu, with OOo 3.1.1) a converted file will be 50Ko smaller than a file generated on the server (Debian, using OOo 2.4.1). I know it's not the same version but pdf file, by eg, are the same on local and server, but I have to make some changes in fonts installed on debian to have this result (before there were a 150Ko difference between local and server file). But on .doc I have alway a weight issue.

Attached the file (.doc generated on local and serveur, with a 53Ko difference)
CV_eric-cambray_-import-viadeo_local.doc
Gen on local
(55 KiB) Downloaded 165 times

CV_eric-cambray_import-viadeo.doc
Gen on server
(108.5 KiB) Downloaded 179 times


Does some already have this problem? Or know how to fix it?

Thanks.
Local : OOo 3 / Ubuntu
Server : OOo 2 / Debian
Bacteries
 
Posts: 2
Joined: Mon Dec 20, 2010 6:10 pm

Re: [UNO] Doc weight bigger on debian than ubuntu

Postby RoryOF » Mon Dec 20, 2010 7:25 pm

So long as the file displays OK why does it matter? Disk drives are so large now the extra 50KB is insignificant.
Apache OpenOffice 4.1.7 on Xubuntu 18.04.4 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 30439
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [UNO] Doc weight bigger on Debian than Ubuntu

Postby Bacteries » Tue Dec 21, 2010 10:27 am

I agree but the server will communicate with other services (for resumes exchange) and need .doc format only, and < 200Ko... So 50Ko make a big difference in this case.
Local : OOo 3 / Ubuntu
Server : OOo 2 / Debian
Bacteries
 
Posts: 2
Joined: Mon Dec 20, 2010 6:10 pm

Re: [UNO] Doc weight bigger on Debian than Ubuntu

Postby dag » Fri Dec 31, 2010 3:12 pm

The newer OpenOffice obviously uses a different logic for the conversion. Hopefully this means an improved logic as well, that has the side-effect (or the intent) to have a smaller Word document. I wouldn't worry about it, unless either the difference is so big it cannot be explained rationally and/or the conversion result is deteriorating with newer versions.
OpenOffice 3.2.1 on RHEL6
User avatar
dag
 
Posts: 6
Joined: Thu Jul 29, 2010 12:34 pm
Location: Belgium


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 1 guest