[Solved] Converting to PDF from Writer on Ubuntu Gutsy

Issues with installing under all Linux Distributions

[Solved] Converting to PDF from Writer on Ubuntu Gutsy

Postby ZephyrusNYC » Tue Dec 11, 2007 5:59 pm

Over the weekend, I upgraded my Ubuntu distribution from Feisty (7.04) to Gutsy (7.10). In the process, OOo went from [2.2?] to 2.3. I am now noticing a problem with creating PDFs.

In short: the created PDF is now an abnormally large file.

Details:

I have a two page Writer document that is 33.6kb. Before, in the previous version of OOo, it created a 66.4kb PDF from this document. Now, the same odt file creates a 562.1kb file!

I'm not sure what's causing this, but I will mention one thing I noticed that might be related: I don't seem to have all fonts installed; for example "Times New Roman" is being substituted. The large PDF has embedded fonts.

I hope someone has a solution to this, as it could be a major problem. I have to regularly convert documents to PDF for upload to the web. the 562kb file is too big, especially for only 2 pages, no graphics.

Thanks in advance.
Last edited by ZephyrusNYC on Wed Dec 12, 2007 1:09 am, edited 1 time in total.
ZephyrusNYC
 
Posts: 6
Joined: Tue Dec 11, 2007 5:40 pm

Re: Converting to PDF from Writer on Ubuntu Gutsy

Postby hol.sten » Tue Dec 11, 2007 10:06 pm

ZephyrusNYC wrote:I will mention one thing I noticed that might be related: I don't seem to have all fonts installed; for example "Times New Roman" is being substituted. The large PDF has embedded fonts.

OOo embedds almost all TrueType fonts into PDF files. Only fonts like Helvetica, Times, Courier and some other are not embedded. Which fonts are you using in your odt document? Install them and try again. Or try to used Helvetica and Times and see if that changes the file size. But keep in mind that Times New Roman is not Times (although they are similar), so Times New Roman will be embedded. Same with Helvetica/Arial and Courier/Courier New (first will be embedded, second not).
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Converting to PDF from Writer on Ubuntu Gutsy

Postby ZephyrusNYC » Tue Dec 11, 2007 10:48 pm

I will check further on the fonts when I get home. But is that why the PDF file size is so large?

In the example I quoted, the original ODT document had "Times New Roman." As I said, the PDF in 2.3 is huge compared to what it was before.

What font in OOo is comparable to standard Times New Roman in Microsoft Word?
ZephyrusNYC
 
Posts: 6
Joined: Tue Dec 11, 2007 5:40 pm

Re: Converting to PDF from Writer on Ubuntu Gutsy

Postby Hagar Delest » Tue Dec 11, 2007 11:35 pm

Install the msttcorefonts package (in Synaptic).

I've noticed that when a font is not available on the system, the PDF file resulting is abnormally huge. If you confirm that behavior, perhaps a bug report could be worth filing.

Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
AOO 4.1.6 on Xubuntu 19.04 and 4.1.5 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28458
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Converting to PDF from Writer on Ubuntu Gutsy

Postby ZephyrusNYC » Wed Dec 12, 2007 1:08 am

Thank you, Hagar, installing
Code: Select all   Expand viewCollapse view
msttcorefonts
that worked. Now the created pdf is down to a reasonable 105kb. I can live with that!
(I also added tables to the odt file, so the increase in kb is to be expected.)
ZephyrusNYC
 
Posts: 6
Joined: Tue Dec 11, 2007 5:40 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest