+ default to DejaVu Sans (ArialUnicodeMT is a monster when emitting PDFs)

This commit is contained in:
artemp 2013-07-25 13:24:03 +01:00
parent 4d6cc61ec1
commit 9089671ddd

View file

@ -357,7 +357,7 @@ void skia_renderer::process(text_symbolizer const& sym,
SkPaint paint; SkPaint paint;
paint.setAntiAlias(true); paint.setAntiAlias(true);
set_comp_op(paint, sym.comp_op()); set_comp_op(paint, sym.comp_op());
SkTypeface * typeface = typeface_cache_.create("ArialUnicodeMS"); // FIXME SkTypeface * typeface = typeface_cache_.create("DejaVuSans"); // FIXME
if (typeface) paint.setTypeface(typeface); if (typeface) paint.setTypeface(typeface);
paint.setTextEncoding(SkPaint::kUTF32_TextEncoding); paint.setTextEncoding(SkPaint::kUTF32_TextEncoding);