Bug 475795 - Different fallback font used in printed document than on-screen for a missing font
Summary: Different fallback font used in printed document than on-screen for a missing...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-10 15:05 UTC by Tim Waugh
Modified: 2009-01-29 23:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-29 23:10:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
here's a copy where I've fixed the names from "Liberation Sans Bold" to a bold-face "Liberation Sans" (154.41 KB, application/vnd.oasis.opendocument.text)
2008-12-10 16:06 UTC, Caolan McNamara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenOffice.org 97127 0 None None None Never

Description Tim Waugh 2008-12-10 15:05:13 UTC
Description of problem:
When printing a document, an incorrect font is substituted.

Version-Release number of selected component (if applicable):
openoffice.org-writer-2.4.2-18.1.fc9.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Print attached (private) document.
  
Actual results:
See private attachment.

Expected results:
Should use correct font Liberation, not Nimbus Oblique.

Comment 3 Caolan McNamara 2008-12-10 15:41:53 UTC
Um, I see in the source .odt that in a lot of the *RH paragraph styles there are some fonts used with names like "Liberation Sans Bold" with the additional "Bold" feature toggled on. i.e. not "Liberation Sans" with bold toggled on, but an unknown font named "Liberation Sans Bold" if you see what I'm getting at. i.e. the moral equivalent of fc-match "Liberation Sans Bold"

Comment 4 Tim Waugh 2008-12-10 16:06:28 UTC
Ah, yes, I see.  Actually for that I get another font:

$ fc-match "Liberation Sans Bold"
DejaVuSans.ttf: "DejaVu Sans" "Book"

...and in fact this seems to be the font that is used on-screen.

Shouldn't this same font be used for print output?

Comment 7 Caolan McNamara 2008-12-11 08:52:49 UTC
Logged a patch upstream to register the fontconfig-based fallback system for printing as well. Not sure why we don't already do this, might be some dragons here so checking with upstream about it.

Comment 8 Caolan McNamara 2008-12-11 09:52:23 UTC
upstream seems happy enough, committed to F-10 and devel will be in F-10 >= 3.0.0-9.11 when and if there is an F-10 OOo update

Comment 9 Tim Waugh 2008-12-11 10:29:21 UTC
Thanks!

Comment 10 Fedora Update System 2009-01-13 08:46:46 UTC
openoffice.org-3.0.1-15.1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/openoffice.org-3.0.1-15.1.fc10

Comment 11 Fedora Update System 2009-01-15 02:53:44 UTC
openoffice.org-3.0.1-15.1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openoffice.org'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0390

Comment 12 Tim Waugh 2009-01-19 10:53:56 UTC
Works fine.  Thanks!

Comment 13 Fedora Update System 2009-01-29 23:09:39 UTC
openoffice.org-3.0.1-15.2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.