Lines Matching refs:new_font
179 struct sti_rom_font *new_font; in sticon_set_font() local
190 new_font = kmalloc(sizeof(*new_font) + size, STI_LOWMEM); in sticon_set_font()
191 if (!new_font) in sticon_set_font()
194 new_font->first_char = 0; in sticon_set_font()
195 new_font->last_char = op->charcount - 1; in sticon_set_font()
196 new_font->width = w; in sticon_set_font()
197 new_font->height = h; in sticon_set_font()
198 new_font->font_type = STI_FONT_HPROMAN8; in sticon_set_font()
199 new_font->bytes_per_char = bpc; in sticon_set_font()
200 new_font->underline_height = 0; in sticon_set_font()
201 new_font->underline_pos = 0; in sticon_set_font()
205 kfree(new_font); in sticon_set_font()
208 cooked_font->raw = new_font; in sticon_set_font()
209 cooked_font->raw_ptr = new_font; in sticon_set_font()
214 p = (unsigned char *) new_font; in sticon_set_font()
215 p += sizeof(*new_font); in sticon_set_font()
221 FNTCRC(cooked_font) = crc32(0, new_font, size + sizeof(*new_font)); in sticon_set_font()
223 new_font = cooked_font->raw_ptr; in sticon_set_font()
229 kfree(new_font); in sticon_set_font()
235 new_font = cooked_font->raw_ptr; in sticon_set_font()