From sclauzer at sissa.it Fri Jun 11 09:55:17 2010 From: sclauzer at sissa.it (Gabriele Sclauzero) Date: Fri, 11 Jun 2010 09:55:17 +0200 Subject: [xcrysden] properties of fonts Message-ID: <4C11EBE5.4020200@sissa.it> Dear users, I want to increase the size of the fonts in the xcrysden GUI (buttons, menus). I succeeded by specifying a line like this: *font: -*-helvetica-medium-r-normal--16-*-*-*-*-*-*- in the Xcrysden_defaults file. Anyway I'm not completely satisfied of the results, since the fonts are bigger but they look as they have a too thin body (I don't remember the technical word to say that...). Where can I learn all the possible options for this *font: definition here above (things like: available font series, sizes, shapes, "thickness", ...). Is there a possibility to add an antialiasing options, in order to make those fonts to look smoother? Another issue which came about after increasing the font size: the default window size happens to be a bit too small to accomodate all the buttons with the larger fonts, so that I have to resize it manually after starting xcrysden. Where and how do I specify my default window size? Regards, GS -- Gabriele Sclauzero, EPFL SB ITP CSEA PH H2 462, Station 3, CH-1015 Lausanne From tone.kokalj at ijs.si Fri Jun 11 20:19:49 2010 From: tone.kokalj at ijs.si (Tone Kokalj) Date: Fri, 11 Jun 2010 20:19:49 +0200 Subject: [xcrysden] properties of fonts In-Reply-To: <4C11EBE5.4020200@sissa.it> References: <4C11EBE5.4020200@sissa.it> Message-ID: <1276280389.6839.14.camel@walk.ijs.si> On Fri, 2010-06-11 at 09:55 +0200, Gabriele Sclauzero wrote: > Dear users, > > I want to increase the size of the fonts in the xcrysden GUI > (buttons, menus). I succeeded by specifying a line like this: > > *font: -*-helvetica-medium-r-normal--16-*-*-*-*-*-*- > > in the Xcrysden_defaults file. Anyway I'm not completely satisfied of > the results, since the fonts are bigger but they look as they have a too > thin body (I don't remember the technical word to say that...). Where > can I learn all the possible options for this *font: definition That is nothing but the X11 specification of the font and "*" are wildcards. Try the xfontsel. It is an ancient x11 font-selection program with the possibility to set all the fields. Select the font there and paste it to Xcrysden_defaults file. > Is there a possibility to add an antialiasing options, in order to make > those fonts to look smoother? While the new Tk support the antialiased fonts (actually on my system, xcrysden uses antialiased fonts), I don't know if this will work via Xcrysden_defaults file. > Another issue which came about after increasing the font size: the > default window size happens to be a bit too small to accomodate all the > buttons with the larger fonts, so that I have to resize it manually > after starting xcrysden. Where and how do I specify my default window size? If you are referring to xcrysden main-window, I believe there is little you can do: its sizes are hard-coded so as that all "buttons" fits within the panel. Usually this works well with the default font, but when larger font is specified one faces your problem. Regards, Tone -- Anton Kokalj J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia (tel: +386-1-477-3523 // fax:+386-1-477-3822) Please, if possible, avoid sending me Word or PowerPoint attachments. See: http://www.gnu.org/philosophy/no-word-attachments.html