summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 18:25:03 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 18:25:03 -0800
commitf2b1ee8a7a64d2e984d569977bf1d80d1bcd57ef (patch)
treeea2c4b2d8a96a78f77b9050cb3243e7b76c0532c
parent0623d6fd757756c6b4f65778fb498e5440375354 (diff)
Missed another set of long doubles where there should be doubles.
-rw-r--r--fontforge/libffstamp.h4
-rw-r--r--fontforge/parsettfatt.c1
-rw-r--r--fontforge/sfd.c10
-rw-r--r--fontforge/stamp.c4
4 files changed, 10 insertions, 9 deletions
diff --git a/fontforge/libffstamp.h b/fontforge/libffstamp.h
index b8170ef0..d7321567 100644
--- a/fontforge/libffstamp.h
+++ b/fontforge/libffstamp.h
@@ -1,3 +1,3 @@
-#define LibFF_ModTime 1298069281L /* Seconds since 1970 (standard unix time) */
-#define LibFF_ModTime_Str "22:48 GMT 18-Feb-2011"
+#define LibFF_ModTime 1298070200L /* Seconds since 1970 (standard unix time) */
+#define LibFF_ModTime_Str "23:03 GMT 18-Feb-2011"
#define LibFF_VersionDate 20110218 /* Year, month, day */
diff --git a/fontforge/parsettfatt.c b/fontforge/parsettfatt.c
index 8676bc68..21442fa8 100644
--- a/fontforge/parsettfatt.c
+++ b/fontforge/parsettfatt.c
@@ -2248,6 +2248,7 @@ return;
if ( info->fontstyle_id == 0 && nid==0 && info->design_size!=0 &&
info->design_range_bottom==0 && info->design_range_top==0 ) {
/* Reasonable spec, only design size provided */
+ LogError(_("This font contains a 'size' feature with a design size and design range but no stylename. That is technically an error, but we'll let it pass"));
info->fontstyle_name = NULL;
break;
}
diff --git a/fontforge/sfd.c b/fontforge/sfd.c
index 4771cef0..dde1fd15 100644
--- a/fontforge/sfd.c
+++ b/fontforge/sfd.c
@@ -1193,14 +1193,14 @@ static void SFDDumpGradient(FILE *sfd, char *keyword, struct gradient *gradient)
/* Use ";" as a coord separator because we treat "," as a potential decimal point */
fprintf( sfd, "%s %g;%g %g;%g %g %s %d ", keyword,
- gradient->start.x, gradient->start.y,
- gradient->stop.x, gradient->stop.y,
- gradient->radius,
+ (double) gradient->start.x, (double) gradient->start.y,
+ (double) gradient->stop.x, (double) gradient->stop.y,
+ (double) gradient->radius,
spreads[gradient->sm],
gradient->stop_cnt );
for ( i=0 ; i<gradient->stop_cnt; ++i ) {
- fprintf( sfd, "{%g #%06x %g} ", gradient->grad_stops[i].offset,
- gradient->grad_stops[i].col, gradient->grad_stops[i].opacity );
+ fprintf( sfd, "{%g #%06x %g} ", (double) gradient->grad_stops[i].offset,
+ gradient->grad_stops[i].col, (double) gradient->grad_stops[i].opacity );
}
putc('\n',sfd);
}
diff --git a/fontforge/stamp.c b/fontforge/stamp.c
index a39bd1be..b18f9524 100644
--- a/fontforge/stamp.c
+++ b/fontforge/stamp.c
@@ -1,5 +1,5 @@
#include <time.h>
-const time_t source_modtime = 1298069289L;
-const char *source_modtime_str = "22:48 GMT 18-Feb-2011";
+const time_t source_modtime = 1298070206L;
+const char *source_modtime_str = "23:03 GMT 18-Feb-2011";
const char *source_version_str = "20110218";