| 504 | } |
| 505 | } |
| 506 | void |
| 507 | mar_set_font(int type, const char *font_name, int size) |
| 508 | { |
| 509 | int id = 0; |
| 510 | /* MAR -- 17.Mar 2002 usual Gem behavior, use the Font-ID */ |
| 511 | if (font_name && *font_name) { |
| 512 | id = atoi(font_name); |
| 513 | if (id <= 0) { |
| 514 | int i, tid; |
| 515 | char name[32]; |
| 516 | for (i = fonts_loaded; --i >= 0;) { |
| 517 | tid = vqt_name(x_handle, i, name); |
| 518 | if (!stricmp(name, font_name)) { |
| 519 | id = tid; |
| 520 | break; |
| 521 | } |
| 522 | } |
| 523 | } |
| 524 | } |
| 525 | mar_set_fontbyid(type, id, size); |
| 526 | } |
| 527 | void |
| 528 | rearrange_windows(void) |
| 529 | { |
no test coverage detected