- ctrl_settitle(b, "Window/Fonts", "Options controlling font usage");
- s = ctrl_getset(b, "Window/Fonts", "font",
- "Fonts for displaying non-bold text");
- ctrl_fontsel(s, "Font used for ordinary text", 'f',
- HELPCTX(no_help),
- dlg_stdfontsel_handler, I(offsetof(Config,font)));
- ctrl_fontsel(s, "Font used for wide (CJK) text", 'w',
- HELPCTX(no_help),
- dlg_stdfontsel_handler, I(offsetof(Config,widefont)));
- s = ctrl_getset(b, "Window/Fonts", "fontbold",
- "Fonts for displaying bolded text");
- ctrl_fontsel(s, "Font used for bolded text", 'b',
- HELPCTX(no_help),
- dlg_stdfontsel_handler, I(offsetof(Config,boldfont)));
- ctrl_fontsel(s, "Font used for bold wide text", 'i',
- HELPCTX(no_help),
- dlg_stdfontsel_handler, I(offsetof(Config,wideboldfont)));
- ctrl_text(s, "If you leave the bold font selectors blank, bold text"
- " will be displayed by overprinting (\"shadow bold\"). Note"
- " that this only applies if you have not requested bolding"
- " to be done by changing the text colour.",
- HELPCTX(no_help));
- ctrl_editbox(s, "Horizontal offset for shadow bold:", 'z', 20,
- HELPCTX(no_help), dlg_stdeditbox_handler,
- I(offsetof(Config,shadowboldoffset)), I(-1));