The most boring font


/* ok, now we’re in a pickle. if we can’t do any of the
 * above, let’s try doing the most boring font we can find.
size = 120;
while (size < = 720) {
 if (load_font_with_cache("courier", "medium", 'r', size,
  return my_font;
 size += 10;

/* my god, how did we end up here. is there a 'generic font'
 * function in gdk? that would be incredibly useful here.
 * there's gotta be a better way to do this. */

/* well, if they can't do any of the fonts above, they'll
 * take whatever they can get, and be happy about it,
 * damn it. :) */

Source: Direct link to the source code
Software: Gaim
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,25 von 5)

Die Kommentare sind geschlossen.