Bug 455819
Summary: | Font substitution in open office not working | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Lupien <christian.lupien> | ||||
Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | CC: | arbeels-zoo, jnavrati | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-01-16 12:37:33 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
Christian Lupien
2008-07-18 00:37:54 UTC
It does appear that the fontconfig stuff has disabled the application of the hard font-replacement table, which should be fixed. The long-time fedora patches for using fontconfig were integrated into upstream OOo so this shouldn't be a fedora-specific problem anymore. But, for reference, what exactly do you want to achieve ? The default configuration is to take the suggestions that fontconfig gives so as to have uniform replacements across the desktop in all apps. e.g. modifying the global fontconfig replacements might be a better solution depending on your goals Created attachment 312115 [details]
this patch might do the right thing
What I want to accomplish is that sometimes I get files (word documents) containing fonts I don't have and the the fontconfig/openoffice default font substitution is not optimal. In that case I want to play with the substitutions to improve things. I know how to change fontconfig manually but the files with bad fonts are not numerous enough and I don't need to apply a change for the whole desktop (and the fix might change from file to file) There are no GUI to easily change the fontconfig and anyway this is just changes that really should only apply to the openoffice application which does have a GUI for this (except it does not work currently). I would like to try the patch. Do I have to recompile the full openoffice or is there a short cut I could use? Unfortunately there's no short-cut except to build OOo :-(. I'll make a build of this for testing soon, and mention here when it is available I'd be interested in knowing with what fonts are you having problems with, the classic fonts of Times New Roman, Arial and Courier New should be taken care of with the Liberation Fonts. So I assume it is some less common fonts. There are no particular fonts I am having trouble right now. I remember having trouble a while back with old star office fonts (Albany, Cumberland and Thorndale) but that is not a problem now (there are aliases and I have installed the fonts anyway). At the time (might have been fedora 3 or 5) I lost some time trying this function in openoffice that simply did not work. Since then I have checked once in a while if it was fixed. Since it was still not fixed I decided to finally file the bug report, in the objective that if I need this option later, it might finally be working. Going to take this upstream to hdu to see if my proposed fix makes sense Re: your question about what fonts people are having problems with. I am specifically having problems with the classic fonts: Times New Roman, Arial and Courier New. The problem is precisely that these fonts are taken care of with the Liberation Fonts and I want to override that choice. The Liberation Fonts are very hard on the eyes. I want to use something else to substitute for Times New Roman when I am editing a long document sent me by a Windows user. Of course, my opinion about the Liberation Fonts is subjective. But fonts are very, very subjective to start with, so we should expect users to want to change default font settings, including these substitutions. This should be possible without having to use environment variables or change global system settings. (Non-technical users, like professional editors, will expect to be able to control OOo fonts from within OOo. They will find the Font Substitution GUI, but it will fail to substitute these default fonts, with no explanation or error message. If they are really savvy, they will then go looking for some global font control in the desktop preferences menus, and find nothing there either. They will conclude that either OOo or Linux is "broken".) Finally, in my experience the main use of the Font Substitution table is to provide local equivalents for missing fonts. This is a problem I encounter all the time with heavily formatted documents and presentations. There is almost never a need to substitute one existing font for another via the Font Substitution table, since that can be done much more effectively via styles. Unfortunately, on systems where fontconfig makes global substitutions, the Font Substitution table only works for existing fonts -- the case most users do not need. And...thank you for the patch. I'll test it when I next have time to compile OOo. |