- analogtv_make_font(st->dpy, st->window, &st->score_font,
- 4, 6, NULL );
-
- /* If you think we haven't learned anything since the early 70s,
- look at this font for a while */
- analogtv_font_set_char(&st->score_font, '0',
- "****"
- "* *"
- "* *"
- "* *"
- "* *"
- "****");
- analogtv_font_set_char(&st->score_font, '1',
- " *"
- " *"
- " *"
- " *"
- " *"
- " *");
- analogtv_font_set_char(&st->score_font, '2',
- "****"
- " *"
- "****"
- "* "
- "* "
- "****");
- analogtv_font_set_char(&st->score_font, '3',
- "****"
- " *"
- "****"
- " *"
- " *"
- "****");
- analogtv_font_set_char(&st->score_font, '4',
- "* *"
- "* *"
- "****"
- " *"
- " *"
- " *");
- analogtv_font_set_char(&st->score_font, '5',
- "****"
- "* "
- "****"
- " *"
- " *"
- "****");
- analogtv_font_set_char(&st->score_font, '6',
- "****"
- "* "
- "****"
- "* *"
- "* *"
- "****");
- analogtv_font_set_char(&st->score_font, '7',
- "****"
- " *"
- " *"
- " *"
- " *"
- " *");
- analogtv_font_set_char(&st->score_font, '8',
- "****"
- "* *"
- "****"
- "* *"
- "* *"
- "****");
- analogtv_font_set_char(&st->score_font, '9',
- "****"
- "* *"
- "****"
- " *"
- " *"
- " *");
-
- st->score_font.y_mult *= 2;
- st->score_font.x_mult *= 2;
+
+ st->clock = get_boolean_resource(st->dpy, "clock", "Boolean");
+
+ analogtv_make_font(st->dpy, st->window, &st->score_font,
+ fonts[st->clock].w, fonts[st->clock].h, NULL);
+
+ for (i=0; i<10; ++i)
+ {
+ analogtv_font_set_char(&st->score_font, '0'+i, fonts[st->clock].s[i]);
+ }