summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 13:22:49 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 13:22:49 -0800
commitb7561a456a456900b99470e04dc5fd9769aa846f (patch)
tree97503b22652cb324ae1342e585f3955be6d0ad7a
parentef01c71ca62b632b7ad1433d1373b8edde5302fc (diff)
Oops. the code to retain ufo ascender/descender needed to convert to double if --enable-longdouble were set.
-rw-r--r--fontforge/sfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fontforge/sfd.c b/fontforge/sfd.c
index 4c7ecd54..9193f42d 100644
--- a/fontforge/sfd.c
+++ b/fontforge/sfd.c
@@ -1852,9 +1852,9 @@ static int SFD_Dump(FILE *sfd,SplineFont *sf,EncMap *map,EncMap *normal,
putc('\n',sfd);
}
if ( sf->ufo_ascent!=0 )
- fprintf(sfd, "UFOAscent: %g\n", sf->ufo_ascent );
+ fprintf(sfd, "UFOAscent: %g\n", (double) sf->ufo_ascent );
if ( sf->ufo_descent!=0 )
- fprintf(sfd, "UFODescent: %g\n", sf->ufo_descent );
+ fprintf(sfd, "UFODescent: %g\n", (double) sf->ufo_descent );
fprintf(sfd, "LayerCount: %d\n", sf->layer_cnt );
for ( i=0; i<sf->layer_cnt; ++i ) {
fprintf( sfd, "Layer: %d %d ", i, sf->layers[i].order2/*, sf->layers[i].background*/ );