}
stretch = pA->stretch;
- gvdevice_printf(job, "font-family:%s;", family);
+ gvdevice_printf(job, "font-family:%s,sans-serif;", family);
if (weight) gvdevice_printf(job, "font-weight:%s;", weight);
if (stretch) gvdevice_printf(job, "font-stretch:%s;", stretch);
if (style) gvdevice_printf(job, "font-style:%s;", style);
}
else
- gvdevice_printf(job, "font-family:%s;", para->fontname);
+ gvdevice_printf(job, "font-family:%s,sans-serif;", para->fontname);
gvdevice_printf(job, "font-size:%.2fpx;", para->fontsize);
switch (obj->pencolor.type) {
case COLOR_STRING: