this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily...
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 2 Oct 2010 07:42:01 +0000 (07:42 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 2 Oct 2010 07:42:01 +0000 (07:42 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@52977 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_decc.c

index 427c440..a3b6c78 100644 (file)
@@ -291,14 +291,14 @@ output(void)
             int fontsize;
             char out[4096];
 
-            snprintf(out, sizeof(out), "edje/fonts/%s", fn->entry);
+            snprintf(out, sizeof(out), "edje/fonts/%s", fn->file);
             font = eet_read(ef, out, &fontsize);
             if (font)
               {
                  FILE *f;
                  char *pp;
 
-                 snprintf(out, sizeof(out), "%s/%s", outdir, fn->file);
+                 snprintf(out, sizeof(out), "%s/%s", outdir, fn->entry);
                  INF("Output Font: %s", out);
                  pp = strdup(out);
                  p = strrchr(pp, '/');