[Pkg-fonts-bugs] Bug#392688: fontforge: svg.c -- missing quotes in SVG output

Kęstutis Biliūnas kebil at kaunas.init.lt
Mon Oct 23 16:20:19 CEST 2006


forwarded 392688 fontforge-devel at lists.sourceforge.net 
thanks

Kt, 2006 10 12 22:36 +0200, Wojciech Muła rašė: 
> Subject: fontforge: svg.c -- missing quotes in SVG output
> Package: fontforge
> Version: 0.0.20060822-2
> Severity: minor
> 
> Just a few \" missing, I've attached patch.

--- svg.c.orig	2006-10-12 22:16:17.000000000 +0200
+++ svg.c	2006-10-12 22:21:19.000000000 +0200
@@ -103,7 +103,7 @@
     else if ( MacStyleCode(sf,NULL)&sf_italic )
 	fprintf( file, "    font-style=\"italic\"\n" );
     if ( strstrmatch(sf->fontname,"small") ||
strstrmatch(sf->fontname,"cap") )
-	fprintf( file, "    font-variant=small-caps\n" );
+	fprintf( file, "    font-variant=\"small-caps\"\n" );
     fprintf( file, "    font-stretch=\"%s\"\n", condexp[info.width]);
     fprintf( file, "    units-per-em=\"%d\"\n", sf->ascent
+sf->descent );
     fprintf( file, "    panose-1=\"%d %d %d %d %d %d %d %d %d %d\"\n",
info.panose[0],
@@ -490,13 +490,13 @@
 	fprintf( file, "orientation=\"v\" " );
     if ( encuni!=-1 && encuni<0x10000 ) {
 	if ( isarabinitial(encuni))
-	    fprintf( file,"arabic-form=initial " );
+	    fprintf( file,"arabic-form=\"initial\" " );
 	else if ( isarabmedial(encuni))
-	    fprintf( file,"arabic-form=medial ");
+	    fprintf( file,"arabic-form=\"medial\" ");
 	else if ( isarabfinal(encuni))
-	    fprintf( file,"arabic-form=final ");
+	    fprintf( file,"arabic-form=\"final\" ");
 	else if ( isarabisolated(encuni))
-	    fprintf( file,"arabic-form=isolated ");
+	    fprintf( file,"arabic-form=\"isolated\" ");
     }
     putc('\n',file);
     svg_scpathdump(file,sc," </glyph>\n");


-- 
Kęstutis Biliūnas <kebil at kaunas.init.lt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: =?UTF-8?Q?=C5=A0i?= =?UTF-8?Q?_lai=C5=A1ko?= dalis yra
	=?UTF-8?Q?pasira=C5=A1yta?= skaitmeniniu =?UTF-8?Q?b=C5=ABdu?=
Url : http://lists.alioth.debian.org/pipermail/pkg-fonts-bugs/attachments/20061023/130db6dc/attachment-0001.pgp


More information about the Pkg-fonts-bugs mailing list