Bug 163591

Summary: Bad font substitutions
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: caolanm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.9.122-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-08 08:27:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
havecrushonyou.TTF
none
example source none

Description Tim Waugh 2005-07-19 10:42:42 UTC
Description of problem:
With the test update of openoffice.org, font substitutions are handled very
badly.  This is a regression since 1.9.112-1.1.0.fc4.

Version-Release number of selected component (if applicable):
1.9.117-2.1.0.fc4

How reproducible:
100%

Steps to Reproduce:
1. Install the attached font
2. Start oowriter
3. Type something

Actual results:
Default font is "I used to have a crush on you".

Expected results:
Default font is something a bit more normal!

Additional info:
This font is also substituted for "Times New Roman".

Comment 1 Tim Waugh 2005-07-19 10:42:42 UTC
Created attachment 116918 [details]
havecrushonyou.TTF

Comment 2 Caolan McNamara 2005-07-19 13:16:50 UTC
Created attachment 116926 [details]
example source

source to reproduce this substitution

Comment 3 Caolan McNamara 2005-07-19 13:22:13 UTC
perhaps bug 163147 is related.

caolanm->davidz: our OOo uses font-config to find font substitutions, OOo can
only use outline fonts so I make a subset of the available fonts and create a
config of outline only. Then with the above font installed the sample code
attached gives the new font as it's best substitution. Can you have a look and
see if there's a solution ?

Comment 4 Caolan McNamara 2005-08-05 15:07:46 UTC
caolanm->twaugh: is this still the case with 1.9.122-3 ?

Comment 5 Tim Waugh 2005-08-08 08:23:52 UTC
I installed this package on FC4:

openoffice.org-core-1.9.122-4.2.0.fc5

and that seems to fix the problem, yes.

Comment 6 Caolan McNamara 2005-08-08 08:27:35 UTC
alternative fontconfig stuff seems to avoid this problem them. Fixed rawhide,
and we'll push a fc4 update in the next week or two.