Le vendredi 02 novembre 2007 à 20:09 -0400, Behdad Esfahbod a écrit :
Yes, please no legacy font system crap.
Documented in http://fedoraproject.org/wiki/PackagingDrafts/FontsPolicy
My only comment on the SpecTemplate is that with new fontconfig in rawhide, there's no need to force fc-cache anymore.
Added to http://fedoraproject.org/wiki/PackagingDrafts/FontsSpecTemplate
Regards,
On Sat, Nov 03, 2007 at 09:46:29AM +0100, Nicolas Mailhot wrote:
Le vendredi 02 novembre 2007 à 20:09 -0400, Behdad Esfahbod a écrit :
Yes, please no legacy font system crap.
Documented in http://fedoraproject.org/wiki/PackagingDrafts/FontsPolicy
I don't exactly understand the full story, but what is exactly a core font? It seems to me that mkfondir and xfs are not really needed anymore. I have a package (libdockapp) that ships some bitmap fonts. Is it the same? In this package I have a link in /etc/X11/fontpath.d/ linking to the font directory. Is there an issue with this type of fonts (called along luxel-ascii-06x09.pcf.gz seg7-ascii-05x07.pcf.gz)?
I run fc-cache in this package scriptlets, although I am not sure that it is useful.
-- Pat
Le samedi 03 novembre 2007 à 11:05 +0100, Patrice Dumas a écrit :
On Sat, Nov 03, 2007 at 09:46:29AM +0100, Nicolas Mailhot wrote:
Le vendredi 02 novembre 2007 à 20:09 -0400, Behdad Esfahbod a écrit :
Yes, please no legacy font system crap.
Documented in http://fedoraproject.org/wiki/PackagingDrafts/FontsPolicy
I don't exactly understand the full story, but what is exactly a core font?
Anything that uses the old server-side X backend. I didn't name it, blame XFree86 people ;)
It seems to me that mkfondir and xfs are not really needed anymore. I have a package (libdockapp) that ships some bitmap fonts. Is it the same? In this package I have a link in /etc/X11/fontpath.d/ linking to the font directory.
That's the Core fonts XFDL backend, yes.
Is there an issue with this type of fonts (called along luxel-ascii-06x09.pcf.gz seg7-ascii-05x07.pcf.gz)?
The only "issue" as explained in the policy is the Core Fonts backend is pretty much unmaintained now, and got abandoned by XFree86 developpers because of numerous unfixable problems, so when you feed it new fonts you play with fire.
You break something or trigger an old bug you get to keep the pieces because you won't find a lot of people ready to help.
I'd have though Behdad's reaction was clear (and he's our leading font developer).
I run fc-cache in this package scriptlets, although I am not sure that it is useful.
I find it terrifying that every packager of legacy fonts I've talked with so far has no clue if the directives he puts in his spec actually work or why. It's always blind copy paste of old specs and if you copy enough stuff things sort-of work.
Please get together and write guidelines for legacy font packaging (with scriptlets you actually understand). I've wrote it before and write it here again: I have zip interest in legacy fonts. I recognise it's font stuff some Fedora users need, so the Fonts SIG wiki will host any properly-written legacy fonts policy. But I won't write it for you. I've investigated this stuff enough years ago to decide it's a radioactive dead-end, if someone wants to keep risking it more power to him, but that's on his head.
The general SIG policy as expressed in http://fedoraproject.org/wiki/PackagingDrafts/FontsPolicy is that new font packagers should not even consider the legacy backend, people dead-set on using it can (that's why it's a SHOULD NOT not MUST NOT) but we tell them explicitely it's a very bad idea.
Regards,
On Sat, Nov 03, 2007 at 11:46:01AM +0100, Nicolas Mailhot wrote:
It seems to me that mkfondir and xfs are not really needed anymore. I have a package (libdockapp) that ships some bitmap fonts. Is it the same? In this package I have a link in /etc/X11/fontpath.d/ linking to the font directory.
That's the Core fonts XFDL backend, yes.
Ok.
I run fc-cache in this package scriptlets, although I am not sure that it is useful.
I find it terrifying that every packager of legacy fonts I've talked with so far has no clue if the directives he puts in his spec actually work or why. It's always blind copy paste of old specs and if you copy enough stuff things sort-of work.
I have personally stated numerous times that I don't understand that stuff. I avoid approaching approach it, except when forced (this is the case for libdockapp, the fonts are a by-product). It is not me who should write those guidelines, and as for you you are just free to do whatever you want.
Please get together and write guidelines for legacy font packaging (with scriptlets you actually understand). I've wrote it before and write it here again: I have zip interest in legacy fonts. I recognise it's font
I am not asking you to do anything, nor I am asking anything to anybody. I am well aware that everything in Fedora is volunteer. However, when there is something unclear or even that seems incorrect in the wiki, I have to raise the issue.
stuff some Fedora users need, so the Fonts SIG wiki will host any properly-written legacy fonts policy. But I won't write it for you. I've
I didn't asked that. I said that because it seems confusing to me to write things like mkfontdir, xfs, "cannot find default font 'fixed'", when it is not of any relevance in the latest fedora version.
-- Pat
Le samedi 03 novembre 2007 à 12:13 +0100, Patrice Dumas a écrit :
Please get together and write guidelines for legacy font packaging (with scriptlets you actually understand). I've wrote it before and write it here again: I have zip interest in legacy fonts. I recognise it's font
I am not asking you to do anything, nor I am asking anything to anybody. I am well aware that everything in Fedora is volunteer.
Well, *I* am asking because having legacy font packagers ask me the same questions all the time is getting old fast. You people chose to package legacy fonts. You get together to write your own policy (or heed the "don't do it" advice of people like Behdad and me).
However, when there is something unclear or even that seems incorrect in the wiki, I have to raise the issue.
stuff some Fedora users need, so the Fonts SIG wiki will host any properly-written legacy fonts policy. But I won't write it for you. I've
I didn't asked that. I said that because it seems confusing to me to write things like mkfontdir, xfs, "cannot find default font 'fixed'", when it is not of any relevance in the latest fedora version.
I've tried to add even more keywords so people recognise the thing. It's difficult to point to it when most people do not know the official name, and nicknames vary from one person to the other.
packaging@lists.fedoraproject.org