glob2 includes a single ttf file that I can probably replace with a symlink to dejavu sans. Based on a an upstream discussion about an aborted switch to a nonfree font, I suspect the font is free, but is there some way to check? The font name in the source is just sans.ttf which isn't very revealing. I haven't stumbled across documentation on where the font came from yet. Is there a tool that can report the source from the ttf file? If I can't find the source of the font, should I strip it from the source tarball?
On Sun, Mar 13, 2011 at 12:01:33 -0500, Bruno Wolff III bruno@wolff.to wrote:
glob2 includes a single ttf file that I can probably replace with a symlink to dejavu sans. Based on a an upstream discussion about an aborted switch to a nonfree font, I suspect the font is free, but is there some way to check? The font name in the source is just sans.ttf which isn't very revealing. I haven't stumbled across documentation on where the font came from yet. Is there a tool that can report the source from the ttf file? If I can't find the source of the font, should I strip it from the source tarball?
My best guess is that they are using dejavu sans. They following changelog comment from two years ago points to this: Reverted to using the Dejavu Sans font, and making the font a compile time option
It looks like the ttf file was changed 6 months ago, but I couldn't find a log entry to go with it. The file is not the same size as our dejavu sans ttf.
Is that could enough to be able to not have to modify the upstream tarball?
Hi,
On 03/13/2011 06:01 PM, Bruno Wolff III wrote:
glob2 includes a single ttf file that I can probably replace with a symlink to dejavu sans. Based on a an upstream discussion about an aborted switch to a nonfree font, I suspect the font is free, but is there some way to check?
What I usually do is install fontforge and then: fontforge foo.ttf
Then go to the Element menu and select font info (or press ctrl+shift+f), usually you can find some more info about the origin there.
The font name in the source is just sans.ttf which isn't very revealing. I haven't stumbled across documentation on where the font came from yet. Is there a tool that can report the source from the ttf file? If I can't find the source of the font, should I strip it from the source tarball?
If you cannot determine the origin of the font, yes you should strip it from the source tarbal. If you can and it is a Free font, usually I just remove the file from the package and replace it with a symlink. Unless it is a game specific Free font distributed only together with the game, in that case I create a sub package for it using the font package guidelines as usual, make the main game package require the font subpackage, and still put a symlink in the original location (as the font subpackage will have the font under /usr/share/fonts/...). See for example freeciv.
Regards,
Hans
On Mon, Mar 14, 2011 at 09:43:29 +0100, Hans de Goede hdegoede@redhat.com wrote:
Hi,
On 03/13/2011 06:01 PM, Bruno Wolff III wrote:
glob2 includes a single ttf file that I can probably replace with a symlink to dejavu sans. Based on a an upstream discussion about an aborted switch to a nonfree font, I suspect the font is free, but is there some way to check?
What I usually do is install fontforge and then: fontforge foo.ttf
Then go to the Element menu and select font info (or press ctrl+shift+f), usually you can find some more info about the origin there.
Thanks, that is what I was looking for. The font file says it is dejavu sans, so I don't need to remove it from the archive.
On 14/03/11 14:38, Bruno Wolff III wrote:
On Mon, Mar 14, 2011 at 09:43:29 +0100, Hans de Goede hdegoede@redhat.com wrote:
Hi,
On 03/13/2011 06:01 PM, Bruno Wolff III wrote:
glob2 includes a single ttf file that I can probably replace with a symlink to dejavu sans. Based on a an upstream discussion about an aborted switch to a nonfree font, I suspect the font is free, but is there some way to check?
What I usually do is install fontforge and then: fontforge foo.ttf
Then go to the Element menu and select font info (or press ctrl+shift+f), usually you can find some more info about the origin there.
Thanks, that is what I was looking for. The font file says it is dejavu sans, so I don't need to remove it from the archive.
Quick note to mention that alternatively you could use fontaine http://unifont.org/fontaine/ to review the metadata and export a text report.
There are also simple but handy fontforge scripts like fontlicense.py on: http://utilities.open-fonts.org/
Plenty of goodies to do more analysis in: http://git.fedorahosted.org/git/?p=fontpackages.git
and there's always the Debian package font review, for example here's the urrent report for glob2: http://pkg-fonts.alioth.debian.org/review/pkg-glob2-data.html
Replacing duplicated font files with appropriate dependencies is probably the best approach.
HTH,