Le Mer 4 février 2009 11:19, Ankur Sinha a écrit :
hi,
I have some queries with the font multi spec.
I have referred the specs in rawhide for mgopen, dejavu and vera fonts
and have based my spec on them.
I get this error on attempting to build the package::
"error: line 51: Package does not exist: %post sfd-general-fonts"
>From what i understood from the rawhide specs, the
Why am i getting this? Ive based the %_font_pkg line as per the other
specs.
In every other case we've seen this the packager had made small cut
and paste mistakes. Just re-read attentively your spec file and make
sure you follow strictly the template pass the right names in the
%package, %description and %_font_pkg lines
Where can i find documentation on these new macros?
Also, do i need to make different conf files for these three families?
They do not differ in generic name. (I have currently excluded
mentioning of the conf files).
Fontconfig will only process the names you give it. It's software, not
a human so it won't fill in the blanks by itself.
You do need to write fontconfig rules for every single font family
name your font files declare (note: font *family* names, not
style/face names)
--
Nicolas Mailhot