Hi,
Where can I find a Fedora font SRPM with a makefile, from which I can make one for Cantarell? :-)
I suppose this will be a FontForge Python script; if there isn't yet one, I will make one.
Cheers Dave
On Mon, Aug 16, 2010 at 12:09 AM, Dave Crossland wrote:
Hi,
Where can I find a Fedora font SRPM with a makefile, from which I can make one for Cantarell? :-)
I suppose this will be a FontForge Python script; if there isn't yet one, I will make one.
I once wrote the Makefile for building serafettin via fontforge. You can get it via the SRPM:
$ yumdownloader --source serafettin-cartoon-fonts
or through SVN: http://serafettin.svn.sourceforge.net/viewvc/serafettin/
Orcan
Hi Dave,
On Mon, Aug 16, 2010 at 9:39 AM, Dave Crossland dave@lab6.com wrote:
Hi,
Where can I find a Fedora font SRPM with a makefile, from which I can make one for Cantarell? :-)
I suppose this will be a FontForge Python script; if there isn't yet one, I will make one.
You can find another way implemented in http://svn.fedorahosted.org/svn/lohit/trunk/generate.pe file. However, I think Fonts SIG should decide on one single script/Makefile on generating binary font files from source font files which people should start using for newer font packages.
Parag.
Le lundi 16 août 2010 à 10:54 +0530, Parag N(पराग़) a écrit :
Hi Dave,
On Mon, Aug 16, 2010 at 9:39 AM, Dave Crossland dave@lab6.com wrote:
Hi,
Where can I find a Fedora font SRPM with a makefile, from which I can make one for Cantarell? :-)
I suppose this will be a FontForge Python script; if there isn't yet one, I will make one.
You can find another way implemented in http://svn.fedorahosted.org/svn/lohit/trunk/generate.pe file.
Or the ones used by DejaVu, Liberation, Andrei Panov fonts, etc http://dejavu.svn.sourceforge.net/viewvc/dejavu/trunk/dejavu-fonts/Makefile http://git.fedorahosted.org/git?p=liberation-fonts.git;a=blob_plain;f=source... https://code.google.com/p/evristika/source/browse/trunk/Makefile
However, I think Fonts SIG should decide on one single script/Makefile on generating binary font files from source font files which people should start using for newer font packages.
Well, I wouldn't mind merging one Makefile example in fontpackages-devel, if it was clean and complete enough. I think the basic requirement is to have the standard build, install, dist targets, ability to set destdir, ability to set the version in fonts, and reasonable Makefile syntax (not a script shell with loops maskerading as makefile, a real Makefile with implicit targets).
The DejaVu Makefile is probably a good point to start from, except its dual-generation target (lgc and non lgc) has complexified it a bit too much (BTW the coverage scripts in fontpackages-tools could be used to replace the ones DejaVu uses).
Regards,
Dave Crossland wrote:
Where can I find a Fedora font SRPM with a makefile, from which I can make one for Cantarell? :-)
I suppose this will be a FontForge Python script; if there isn't yet one, I will make one.
If you want a plain makefile that you can invoke at any time to generate your fonts, then try the attached file. This should be called Makefile; I've renamed it to get a reasonable MIME type.
The top rule will get FontForge to generate the TTF in the current directory, regardless of the location of the source (because your sources are in a subdirectory), and the Foundry name must be set, because scripts won't read your preferences unless you ask them to, and they wouldn't be of any use to others anyway!
This uses FontForge's "old" scripting language rather than Python, simply because that's all I've ever used.