Bug 79044 - PDF Import: Text not fitting on page, as well as in the box
Summary: PDF Import: Text not fitting on page, as well as in the box
Status: RESOLVED DUPLICATE of bug 85295
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-22 02:00 UTC by Biju
Modified: 2016-08-10 16:38 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Biju 2014-05-22 02:00:32 UTC
+++ This bug was initially created as a clone of Bug #78807 +++

Version: 4.2.5.0.0+
Build ID: da739f729223908516deb1c2564d0713231abb5b
Tested on WinXP

Text not fitting on page, as well as in the box
See Page 13, 16
http://www.bissell.com/assets/0/132/134/228/78366bd2-6286-4bf0-a2c1-0aa5491466e6.pdf


Actual
attachment 99192 [details] page_13_LO.PNG
attachment 99194 [details] page_16_LO.PNG

Expected
attachment 99195 [details] page_16_FF.PNG
attachment 99193 [details] page_13_FF.PNG
Comment 1 tommy27 2014-06-18 02:42:45 UTC
reproducible under Win7x64 using LibO 4.2.4.2
status NEW
Comment 2 Alexandr 2014-07-14 11:59:40 UTC
Text in page 13 has LucidaSansStd font and in page 16 – FuturaStd, FuturaStdBook and FuturaStdMedium font. Please, check if all the fonts are installed correctly. It would be better to use LibreOffice 4.3 for testing because it has some improvements in pdfimport.
Comment 3 Biju 2014-09-09 02:19:35 UTC
(In reply to comment #2)
> Text in page 13 has LucidaSansStd font and in page 16 – FuturaStd,
> FuturaStdBook and FuturaStdMedium font. Please, check if all the fonts are
> installed correctly. It would be better to use LibreOffice 4.3 for testing
> because it has some improvements in pdfimport.

Tested on 4.3.2 nightly from 2014-09-06 this issue still exist

On my system I see Lucida Sans Unicode and Lucida Console, 
is that sufficient for LucidaSansStd ?
I don't see Futura at all.

But question, then how Firefox pdf.js do it better on the same system?

Anyway it OK if you want mark this as WONTFIX or Something for FUTURE.
Or better, you can check with Firefox team to find how they resolved similar issues.

If required fonts are not there, can't we automatically prompt for download of a generic font matching the required font from a centralized font repository?
Comment 4 Buovjaga 2014-11-27 08:51:17 UTC
Page 13 was ok, still the same problems on page 16. Setting to NEW and lowering severity to minor per https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Win 7 64-bit Version: 4.5.0.0.alpha0+
Build ID: b144f0ac8695dd62a2053b4e88212d0b109c9a41
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-25_00:14:54
Comment 5 Alexandr 2014-12-09 13:10:50 UTC
Hello, Biju
I am sorry for late answer

> On my system I see Lucida Sans Unicode and Lucida Console, 
> is that sufficient for LucidaSansStd ?
> I don't see Futura at all.

You can try font replacement using
Tools -> Options -> LibreOffice -> Fonts

> But question, then how Firefox pdf.js do it better on 
> the same system?

PDF was created to show documents, not to edit. It allows to embed fonts, but usually only a subset (symbols that are really used in a document) is embedded, not a whole font. It is enough to show a document, but it could be difficult to import to editable format. Anyway it would be great if LibreOffice could import the fonts. I report it as bug 85295 that is not about specific document but about font import at whole.

> If required fonts are not there, can't we 
> automatically prompt for download of a generic 
> font matching the required font from a centralized 
> font repository?

If we want to avoid such problems as this this bug, we should substitute fonts with metric identical ones. For example, Times New Roman can be substituted with Liberation Serif. The autosubstitution in LibreOffice works for me in many cases. But not every font has free metric compatible analog. 

Good news: https://wiki.documentfoundation.org/ReleaseNotes/4.4#Included_fonts
LibreOffice 4.4 adds the libre-licensed Caladea and Carlito fonts (Huerta Tipográfica). Caladea and Carlito have the same metrics and proportions as Microsoft’s Cambria and Calibri
Comment 6 vvort 2015-01-22 08:42:40 UTC
Shifted phone number on page 16 is fixed here:
https://gerrit.libreoffice.org/14098
Comment 7 vvort 2015-01-22 08:50:44 UTC
Found more specific bug about phone number: Bug 79045
Comment 8 QA Administrators 2016-02-21 08:34:56 UTC Comment hidden (obsolete)
Comment 9 Heiko Tietze 2016-05-10 12:03:43 UTC
Since the issue is attributed to the font substitution (comment #5) we continue the discussion better there.

*** This bug has been marked as a duplicate of bug 85295 ***