Bug 67493 - documents with a special font aren't displayed correctly
Summary: documents with a special font aren't displayed correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.1.0.4 release
Hardware: All Linux (All)
: medium critical
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 17:40 UTC by bordfeldt
Modified: 2014-09-21 17:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
the font "Rotis Semi Sans 55" (77.01 KB, application/x-font-ttf)
2013-07-29 17:40 UTC, bordfeldt
Details
slide wrong displayed with Rotis (247.23 KB, image/png)
2013-07-30 08:15 UTC, bordfeldt
Details
slide right displayed with arial narrow (250.57 KB, image/png)
2013-07-30 08:17 UTC, bordfeldt
Details
FontForge screenshot of metrics for Rotis and DejaVu Sans fonts. (59.63 KB, image/png)
2013-08-03 04:33 UTC, Owen Genat
Details

Description bordfeldt 2013-07-29 17:40:48 UTC
Created attachment 83221 [details]
the font "Rotis Semi Sans 55"

LO 4.1.0.4 on Ubuntu 12.04 64bit

After updating from LO 4.0.2.2 to 4.1.0.4 documents written with the font "Rotis Semi Sans 55" (a special font from my company, that I have to use in many documents) aren't displayed correctly anymore. The distances between the paragraphs are too small. In 4.0.2.2 documents with this font worked without problems.
If I open a new document and change the font to "Rotis ..." and start writing the paragraph distance is too small. All other fonts are working normal.
This is a very severe problem for me, because all people in my company have to use this font for official documents.
In the attachment you can find the affected font for testing.
Comment 1 bordfeldt 2013-07-29 17:47:50 UTC
In my bug report before I forgot something. If I change the font for example in Arial Narrow, which is quite similar, the document is displayed in a normal way and the distances between the lines are normal.
Comment 2 bordfeldt 2013-07-30 08:12:34 UTC
Today I saw that impress shows the same behaviour. If I open a presentation with the font "Rotis..." the line height is too small. I think LO displays the signs not in the real height. I will add screenshots of the page in "Rotis" an the same page in "Arial narrow".
Comment 3 bordfeldt 2013-07-30 08:15:33 UTC
Created attachment 83276 [details]
slide wrong displayed with Rotis
Comment 4 bordfeldt 2013-07-30 08:17:18 UTC
Created attachment 83278 [details]
slide right displayed with arial narrow
Comment 5 Owen Genat 2013-08-03 04:33:52 UTC
Created attachment 83564 [details]
FontForge screenshot of metrics for Rotis and DejaVu Sans fonts.

This is not necessarily the cause of the problem, but it is worth noting that the SPACE (U+0020, named "glyph1") character in the provided custom font is mapped to the beginning of the Private Use Area (U+E001, named "space"). I am not sure why this would be necessary, but it seems erroneous.

A more likely cause of your problem is that LO is now (more) correctly interpreting the metrics of your font. I have attached a screenshot of what FontForge shows for the OS/2 > Metrics tab. There are significant differences e.g., a "Typo Line Gap" of zero for your font. It is possible this is contributing to the line spacing issue.
Comment 6 bordfeldt 2013-08-08 18:16:29 UTC
Today I tested LO 4.1.0 on Windows XP and here the font "Rotis Semi Sans" is displayed in the right way. So I think it's only a problem on linux machines.
Comment 7 bordfeldt 2013-09-10 08:51:07 UTC
After upgrading to 4.1.1.2 the problem still exists.
Comment 8 bordfeldt 2013-10-05 15:34:25 UTC
After upgrading to 4.1.2.3 the problem still exists.
Comment 9 bordfeldt 2014-01-30 18:35:52 UTC
After upgrading to 4.2.0.4 the problem still exists.
Comment 10 bordfeldt 2014-09-21 17:14:31 UTC
After upgrading to 4.3.1.2 the problem still exists. OpenOffice 4.1.0 on the same machine displays the font correctly.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.