Comment 11 for bug 126784

Revision history for this message
Chris Cheney (ccheney) wrote : Re: Line Spacing is Wrong

It appears this comment pertains to the problem at hand, when running like below it appears to cause Times to be properly substituted since the font does not exist (even with msttcorefonts installed). And I ran the fc-match on Times and got the following:

fc-match Times
n021003l.pfb: "Nimbus Roman No9 L" "Regular"

--

The fc-match results indicate that fontconfig instructed OOo to replace "Arial" with "DejaVu Sans Book".
If DejaVu is not the best match on this system then please report this problem to the distributor (e.g.
Ubuntu, RedHat, etc). There are potentially many many more mismatches in fontconfig's knowledge of
the relationships of different fonts.

Before OOo did the fontconfig based substitutions described above OOo used its own cross-platform
expertise. Since the distributors insisted that OOo follows fontconfigs substitution recommendations
they will probably be quite happy to fix all the mismatches themselves.

To check how OOo used to substitute fonts you can do the following steps:
- open a terminal
- change the directory to the OOo's program folder
- type "SAL_DISABLE_FC_SUBST=1 ./soffice.bin"
- check the document you reported