Re: Packaging questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Le jeudi 29 janvier 2009 à 15:30 -0300, Paul Lange a écrit :
> Hey,
> I'm currently reading all that packaging stuff and start working on my 
> first font. I've chosen Tagesschrift from the wishlist, you can find the 
> webiste here:
> If I don't explain my problems well you can find my current status here: 
> Well, first some questions to fontconfig. Tagesschrift is a serif font, 
> but I'm not sure if I should declare its family as serif or fantasy 
> because it's a kind of distorted.

When you have a doubt if a font is rather fantasy or something else,
that usually means the font is fantasy. Also you can check in fontforge
what the font author declared (ctrl+e)

Here you'll see the OS/2 PFM family is set to "Decorative" which is
another name for "Fantasy".

>  The other thing is the numeral prefix. 
> I set it to 60 because it's latin but I'm not sure if it's not more a 
> low priority font (means 61-64).

I'd have put it to 63-64 because it has no bold/italic variants so it's
better to let more complete fonts resolve first.

>  Like to hear your opinion on that two 
> things.
> I'm coming to the .spec file now. Everything is clear until the %setup 
> -q command. Do I need to make any changes to this because the archive is 
> a zip rather than a tar.gz archive?

%setup will process most of the well-known archive formats
automatically. It's not limited to zip.

What it can't do is guess if upstream used the sane convention of using
a top directory named the same way as the archive or something else. If
you're in the "something else" case you need to pass some flags to %
setup manually

%setup is about the only part of the template that must be changed in a
case-by-case basis depending on how upstream packed its sources.

> Next section is the %install command. This is really difficult for me. 
> How can I find out where all this variables (_fontdir, 
> _fontconfig_templatedir, ...) are pointing to?

You're not supposed to. The variables are right as they are. As
documented in

you have at most the *.ttf to change in the %install section, if your
fonts are located in a subdirectory and not directly in the root
directory of the archive.

Nicolas Mailhot

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

Fedora-fonts-list mailing list

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux