|
|
| version 1.6, 2007/01/10 15:58:21 | version 1.9, 2012/01/23 04:54:47 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2004 NONAKA Kimihiro | * Copyright (c) 2004 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 93 fontmng_create(int size, UINT type, cons | Line 91 fontmng_create(int size, UINT type, cons |
| } | } |
| g_snprintf(buf, sizeof(buf), "%s %s %s %d", | g_snprintf(buf, sizeof(buf), "%s %s %s %d", |
| fontface ? (char *)fontface : fontname, | fontface ? (const char *)fontface : fontname, |
| (type & FDAT_BOLD) ? "bold" : "medium", | (type & FDAT_BOLD) ? "bold" : "medium", |
| (type & FDAT_PROPORTIONAL) ? "" : "", | (type & FDAT_PROPORTIONAL) ? "" : "", |
| size); | size); |
| Line 165 static void | Line 163 static void |
| setfdathead(FNTMNG fhdl, FNTDAT fdat, const char *str, int len) | setfdathead(FNTMNG fhdl, FNTDAT fdat, const char *str, int len) |
| { | { |
| UNUSED(str); | |
| fdat->width = fhdl->rect.width; | fdat->width = fhdl->rect.width; |
| fdat->height = fhdl->rect.height; | fdat->height = fhdl->rect.height; |
| fdat->pitch = fhdl->size; | fdat->pitch = fhdl->size; |