Index: preview.c =================================================================== --- preview.c (revision 38355) +++ preview.c (revision 38356) @@ -98,16 +98,17 @@ static void font_prv_expose_cb(rnd_hid_attribute_t *attrib, rnd_hid_preview_t *prv, rnd_hid_gc_t gc, rnd_hid_expose_ctx_t *e) { fmprv_ctx_t *ctx = prv->user_ctx; - rnd_font_render_opts_t opts = 0; rnd_xform_t xform = {0}; pcb_draw_info_t info = {0}; +#if PCB_WANT_FONT2 + rnd_font_render_opts_t opts = RND_FONT_HTAB | RND_FONT_ENTITY | RND_FONT_MULTI_LINE; +#else + int opts = 0; +#endif info.xform = &xform; pcb_draw_setup_default_gui_xform(&xform); -#if PCB_WANT_FONT2 - opts |= RND_FONT_HTAB | RND_FONT_ENTITY | RND_FONT_MULTI_LINE; -#endif rnd_render->set_color(pcb_draw_out.fgGC, rnd_color_black);