https://bugzilla.rpmfusion.org/show_bug.cgi?id=2483
--- Comment #50 from Rob Janes <janes.rob(a)gmail.com> 2013-06-01 16:14:32 CEST ---
yes, that's good to have. However, my rpm already handles fontconfig, what
I've been calling Xft.
Here's what I've done (months ago) to test the font installation.
1. use the indicated tools to list the fonts. Verify the fonts appear in the
list (fc-list for fontconfig), and did not appear prior.
2. create a document in ms word using the fonts. verify the document looks the
same under linux openoffice, and does not look right prior to installing my
rpm.
The first two points meet the requirement of being able to view documents
produced in windows.
3. go in to openoffice, verify the fonts appear there, and look more or less
correct (and don't appear there prior).
4. verify you can use the fonts in openoffice (and can't use the fonts without
the rpm).
Well, I couldn't verify that the fonts are displayed exactly correctly, but it
looks pretty much the same to my eye.
I did the same for X Core fonts, the older system, although finding an editor
that used X Core and not fontconfig/Xft was difficult.
yum info fontconfig
Name : fontconfig
Arch : x86_64
Version : 2.10.2
Release : 2.fc18
Size : 521 k
Repo : installed
Summary : Font configuration and customization library
URL :
http://fontconfig.org
License : MIT and Public Domain and UCD
Description : Fontconfig is designed to locate fonts within the
: system and select them according to requirements specified by
: applications.
rpm -ql fontconfig
etc etc.
This package contains the commands I've been using to make the fonts known.
This package contains fc-list. I use fc-list and I see the msttcore fonts
listed.
Fontconfig uses /etc/fonts/conf.d to name the font directories. The rpm puts
an xml file in there to point to the msttcore fonts. then it calls up fc-cache
to rebuild the font index.
Xft is the font rendering library for truetype fonts under fontconfig.
I guess the fc in the fc-xxxx commands stands for fontconfig.
It looks to me like the only thing that's missing in my rpm is font family
substitutions, which you find specified in /usr/share/fontconfig/... need to
research this more, this is what i gather from scanning the documents.
I think the lack of that means that you must specify the font name exactly.
What I wanted to see was that ms documents, spreadsheets, pdfs, that used the
fonts displayed properly. I verified that, and that you can select the font
from the lists of fonts in openoffice or somesuch. Such a process would likely
use the exact name.
I do have a webpage that doesn't display the fonts correctly. perhaps that's
the problem, not having the names right. I'll have to look in to that.
I'll change the online documentation to name "fontconfig" as something
tested,
and (allegedly) supported by the rpm.
Thanks!
--
Configure bugmail:
https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.