}
if (LocaleCompare((const char *) name,"clipPath") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"push clip-path '%s'\n",id);
+ (void) FormatLocaleFile(svg_info->file,"push clip-path \"%s\"\n",id);
break;
}
break;
if (LocaleCompare((const char *) name,"linearGradient") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "push gradient '%s' linear %g,%g %g,%g\n",id,
+ "push gradient \"%s\" linear %g,%g %g,%g\n",id,
svg_info->segment.x1,svg_info->segment.y1,svg_info->segment.x2,
svg_info->segment.y2);
break;
if (LocaleCompare((const char *) name,"pattern") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "push pattern '%s' %g,%g %g,%g\n",id,
+ "push pattern \"%s\" %g,%g %g,%g\n",id,
svg_info->bounds.x,svg_info->bounds.y,svg_info->bounds.width,
svg_info->bounds.height);
break;
if (LocaleCompare((const char *) name,"radialGradient") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "push gradient '%s' radial %g,%g %g,%g %g\n",
+ "push gradient \"%s\" radial %g,%g %g,%g %g\n",
id,svg_info->element.cx,svg_info->element.cy,
svg_info->element.major,svg_info->element.minor,
svg_info->element.angle);
if (LocaleCompare((const char *) name,"svg") == 0)
{
(void) FormatLocaleFile(svg_info->file,"push graphic-context\n");
- (void) FormatLocaleFile(svg_info->file,"fill 'black'\n");
+ (void) FormatLocaleFile(svg_info->file,"fill \"black\"\n");
(void) FormatLocaleFile(svg_info->file,"fill-opacity 1\n");
- (void) FormatLocaleFile(svg_info->file,"stroke 'none'\n");
+ (void) FormatLocaleFile(svg_info->file,"stroke \"none\"\n");
(void) FormatLocaleFile(svg_info->file,"stroke-width 1\n");
(void) FormatLocaleFile(svg_info->file,"stroke-opacity 1\n");
break;
*text;
text=EscapeString(svg_info->text,'\'');
- (void) FormatLocaleFile(svg_info->file,"text %g,%g '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"text %g,%g \"%s\"\n",
svg_info->bounds.x-svg_info->center.x,svg_info->bounds.y-
svg_info->center.y,text);
text=DestroyString(text);
{
if (LocaleCompare(keyword,"clip-path") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"clip-path '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"clip-path \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"clip-rule") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"clip-rule '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"clip-rule \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"clipPathUnits") == 0)
{
(void) CloneString(&units,value);
- (void) FormatLocaleFile(svg_info->file,"clip-units '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"clip-units \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"color") == 0)
{
if (LocaleCompare(value,"currentColor") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"fill '%s'\n",color);
+ (void) FormatLocaleFile(svg_info->file,"fill \"%s\"\n",color);
break;
}
- (void) FormatLocaleFile(svg_info->file,"fill '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"fill \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"fillcolor") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"fill '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"fill \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"fill-rule") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"fill-rule '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"fill-rule \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"fill-opacity") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"fill-opacity '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"fill-opacity \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"font-family") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"font-family '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"font-family \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"font-stretch") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"font-stretch '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"font-stretch \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"font-style") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"font-style '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"font-style \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"font-size") == 0)
}
if (LocaleCompare(keyword,"font-weight") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"font-weight '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"font-weight \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"gradientUnits") == 0)
{
(void) CloneString(&units,value);
- (void) FormatLocaleFile(svg_info->file,"gradient-units '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"gradient-units \"%s\"\n",
value);
break;
}
}
if (LocaleCompare(keyword,"opacity") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"opacity '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"opacity \"%s\"\n",value);
break;
}
break;
{
if (LocaleCompare(value,"currentColor") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stroke '%s'\n",color);
+ (void) FormatLocaleFile(svg_info->file,"stroke \"%s\"\n",color);
break;
}
- (void) FormatLocaleFile(svg_info->file,"stroke '%s'\n",value);
+ (void) FormatLocaleFile(svg_info->file,"stroke \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-antialiasing") == 0)
}
if (LocaleCompare(keyword,"stroke-linecap") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stroke-linecap '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"stroke-linecap \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"stroke-linejoin") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stroke-linejoin '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"stroke-linejoin \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"stroke-miterlimit") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stroke-miterlimit '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"stroke-miterlimit \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"stroke-opacity") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stroke-opacity '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"stroke-opacity \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"clip-path") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "clip-path '%s'\n",value);
+ "clip-path \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"clip-rule") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "clip-rule '%s'\n",value);
+ "clip-rule \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"clipPathUnits") == 0)
{
(void) CloneString(&units,value);
(void) FormatLocaleFile(svg_info->file,
- "clip-units '%s'\n",value);
+ "clip-units \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"color") == 0)
if (LocaleCompare(value,"currentColor") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "fill '%s'\n",color);
+ "fill \"%s\"\n",color);
break;
}
if (LocaleCompare(value,"#000000ff") == 0)
(void) FormatLocaleFile(svg_info->file,
"fill '#000000'\n");
else
- (void) FormatLocaleFile(svg_info->file,"fill '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"fill \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"fillcolor") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"fill '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"fill \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"fill-rule") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "fill-rule '%s'\n",value);
+ "fill-rule \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"fill-opacity") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "fill-opacity '%s'\n",value);
+ "fill-opacity \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"font-family") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "font-family '%s'\n",value);
+ "font-family \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"font-stretch") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "font-stretch '%s'\n",value);
+ "font-stretch \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"font-style") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "font-style '%s'\n",value);
+ "font-style \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"font-size") == 0)
if (LocaleCompare(keyword,"font-weight") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "font-weight '%s'\n",value);
+ "font-weight \"%s\"\n",value);
break;
}
break;
if (LocaleCompare(keyword,"opacity") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "opacity '%s'\n",value);
+ "opacity \"%s\"\n",value);
break;
}
break;
if (LocaleCompare(value,"currentColor") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "stroke '%s'\n",color);
+ "stroke \"%s\"\n",color);
break;
}
if (LocaleCompare(value,"#000000ff") == 0)
"fill '#000000'\n");
else
(void) FormatLocaleFile(svg_info->file,
- "stroke '%s'\n",value);
+ "stroke \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-antialiasing") == 0)
if (LocaleCompare(keyword,"stroke-linecap") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "stroke-linecap '%s'\n",value);
+ "stroke-linecap \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-linejoin") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "stroke-linejoin '%s'\n",value);
+ "stroke-linejoin \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-miterlimit") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "stroke-miterlimit '%s'\n",value);
+ "stroke-miterlimit \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-opacity") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "stroke-opacity '%s'\n",value);
+ "stroke-opacity \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"stroke-width") == 0)
if (LocaleCompare(keyword,"text-align") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "text-align '%s'\n",value);
+ "text-align \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"text-anchor") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "text-anchor '%s'\n",value);
+ "text-anchor \"%s\"\n",value);
break;
}
if (LocaleCompare(keyword,"text-decoration") == 0)
{
if (LocaleCompare(keyword,"text-align") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"text-align '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"text-align \"%s\"\n",
value);
break;
}
if (LocaleCompare(keyword,"text-anchor") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"text-anchor '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"text-anchor \"%s\"\n",
value);
break;
}
if (LocaleCompare((const char *) name,"image") == 0)
{
(void) FormatLocaleFile(svg_info->file,
- "image Over %g,%g %g,%g '%s'\n",svg_info->bounds.x,
+ "image Over %g,%g %g,%g \"%s\"\n",svg_info->bounds.x,
svg_info->bounds.y,svg_info->bounds.width,svg_info->bounds.height,
svg_info->url);
(void) FormatLocaleFile(svg_info->file,"pop graphic-context\n");
}
if (LocaleCompare((const char *) name,"path") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"path '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"path \"%s\"\n",
svg_info->vertices);
(void) FormatLocaleFile(svg_info->file,"pop graphic-context\n");
break;
{
if (LocaleCompare((const char *) name,"stop") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"stop-color '%s' %s\n",
+ (void) FormatLocaleFile(svg_info->file,"stop-color \"%s\" %s\n",
svg_info->stop_color,svg_info->offset);
break;
}
*text;
text=EscapeString(svg_info->text,'\'');
- (void) FormatLocaleFile(svg_info->file,"text %g,%g '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"text %g,%g \"%s\"\n",
svg_info->bounds.x,svg_info->bounds.y,text);
text=DestroyString(text);
*svg_info->text='\0';
*text;
text=EscapeString(svg_info->text,'\'');
- (void) FormatLocaleFile(svg_info->file,"text %g,%g '%s'\n",
+ (void) FormatLocaleFile(svg_info->file,"text %g,%g \"%s\"\n",
svg_info->bounds.x,svg_info->bounds.y,text);
text=DestroyString(text);
draw_info=CloneDrawInfo(svg_info->image_info,(DrawInfo *) NULL);