Commit aaabe394 authored by saeed's avatar saeed

smaller font is chosen

parent 6a09c2f5
......@@ -80,7 +80,7 @@ static struct Vis init_x(int w, int h){
result.win = XCreateWindow(result.dsp,RootWindow(result.dsp,result.screen_num), 0, 0, w, h, 0, result.depth, InputOutput,result.visual ,CWBackPixel | CWBorderPixel | CWOverrideRedirect, &attributes);
XSelectInput(result.dsp, result.win, ExposureMask | KeyPressMask | ButtonPressMask | StructureNotifyMask | PointerMotionMask | FocusChangeMask);
char * fontname = "lucidasanstypewriter-bold-18";
char * fontname = "lucidasanstypewriter-bold-12";
result.fontinfo = XLoadQueryFont (result.dsp, fontname);
if (! result.fontinfo) {
fprintf (stderr, "unable to load font %s: using fixed\n", fontname);
......@@ -416,7 +416,7 @@ static void odbinfo_onotherwindow(struct Vis *vis, struct odbinfo *odbinfo){
XSetForeground(vis->dsp, vis->gc, 0x0);
float spacing = 0.060;
float spacing = 0.0350;
int nb = 1;
int indent = 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment