Package Details: gbdfed 1.6-4

Git Clone URL: https://aur.archlinux.org/gbdfed.git (read-only, click to copy)
Package Base: gbdfed
Description: A GTK2 bitmap font editor
Upstream URL: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/
Licenses: MIT
Submitter: None
Maintainer: pzl
Last Packager: pzl
Votes: 40
Popularity: 0.000002
First Submitted: 2006-06-16 13:20 (UTC)
Last Updated: 2022-06-30 14:59 (UTC)

Latest Comments

1 2 Next › Last »

vaygr commented on 2022-06-29 23:07 (UTC)

Thanks for the patch. Can the package be updated to include it though?

mythsunwind commented on 2021-06-22 21:58 (UTC) (edited on 2021-06-22 22:00 (UTC) by mythsunwind)

The package currently does not compile anymore. It throws errors on all fprintf saying "format not a string literal and no format arguments".

To fix it you can include a patch from debian package called "format-security.patch" which looks like this:

--- a/bdf.c
+++ b/bdf.c
@@ -2843,14 +2843,14 @@
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);

         /*
@@ -2915,14 +2915,14 @@
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);

         /*

pzl commented on 2019-01-14 14:37 (UTC)

thanks, sources updated

pablo1 commented on 2019-01-14 14:04 (UTC)

Here is a up-to-date PKGBUILD with updated sources

https://gist.github.com/binaryplease/2e7f56d389f2ff08fad98e4bbac8e965

katie commented on 2018-11-28 11:10 (UTC)

The sources for this package have changed and need to be updated: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/

speps commented on 2013-05-13 22:10 (UTC)

@oliwer Hi, you should put something like head -n21 $pkgname.c > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" in your PKGBUILD to include the required custom MIT license. Cheers

<deleted-account> commented on 2012-07-24 18:35 (UTC)

This is amazing. I've been wanting to make bitmap fonts for years, and now I can! Thank you for finding and providing this package!

oliwer commented on 2011-11-23 20:40 (UTC)

Updated! Thanks OK100 (weird nickname).

OK100 commented on 2011-11-19 20:56 (UTC)

Hi, please include this patch. It fixes the problem described here: https://bbs.archlinux.org/viewtopic.php?id=121113 --- glyphedit.c.orig 2010-04-16 16:39:04.000000000 +0200 +++ glyphedit.c 2011-11-19 21:38:26.467479537 +0100 @@ -104,7 +104,8 @@ enum { GLYPH_MODIFIED = 0, POINTER_MOVED, OPERATION_CHANGE, - COLOR_CHANGE + COLOR_CHANGE, + NUM_SIGNALS }; /************************************************************************** @@ -114,7 +115,7 @@ enum { **************************************************************************/ static GtkWidgetClass *parent_class = 0; -static guint glyphedit_signals[OPERATION_CHANGE + 1]; +static guint glyphedit_signals[NUM_SIGNALS]; /************************************************************************** *