Commit Graph

20 Commits

Author SHA1 Message Date
Jan Djärv
7c40296995 Remove period at end of error message. 2003-11-16 16:17:09 +00:00
Jason Rumney
0d4c2dc2bb * w32fns.c (w32_load_system_font): Clear all members of FONTP before
filling them.
* w32bdf.c (w32_load_bdf_font): Likewise.
2003-10-02 23:07:28 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jason Rumney
f7b9d4d15e *** empty log message *** 2002-02-18 00:04:14 +00:00
Pavel Janík
4838e624ad Include <config.h>. 2002-01-01 19:15:26 +00:00
Pavel Janík
19474e269f Fix typo. 2001-12-12 20:03:19 +00:00
Gerd Moellmann
32c82ac0a1 Don't define min/max. 2001-10-08 08:08:08 +00:00
Eli Zaretskii
dddcbf0021 (search_file_line, set_bdf_font_info, seek_char)
(w32_get_bdf_glyph): Cast between unsigned char and char when
passing arguments to subroutines, to shut up compiler warnings.
(w32_get_bdf_glyph): Don't mix signed and unsigned when calling
GET_HEX_VAL.
2001-05-12 10:05:39 +00:00
Jason Rumney
486a1063b9 (search_file_line, get_cached_font_char)
(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
2001-01-12 23:59:37 +00:00
Jason Rumney
3e27fa1f83 (w32_init_bdf_font): Fix test for valid bmp heap. 2000-12-21 11:05:33 +00:00
Jason Rumney
691a3cb77b (set_bdf_font_info): Set it.
(w32_BDF_TextOut): Swap byte order of double byte characters.
(w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
2000-10-29 21:00:37 +00:00
Andrew Innes
0042231086 (w32_load_bdf_font): Call w32_cache_char_metrics. 2000-10-21 13:30:33 +00:00
Jason Rumney
264f0aa7ed (search_file_line): Fix skipping of whitespace.
(get_quoted_string): Fix limit on memchr search.
(set_bdf_font_info): Use unsigned chars. Negate yoffset.
(w32_init_bdf_font): Initialize codepoint and bitmap heaps.
(w32_free_bdf_font): Free bitmaps and codepoints on heaps.
(get_cached_font_char, cache_char_offset): Use macro
BDF_CODEPOINT_RANGE_COVER_P.
(cache_char_offset): Use HeapAlloc to allocate codepoints on own heap.
(clear_cached_bitmap_slots): New function.
(GET_HEX_VALUE): G-Z, g-z are not hex.
(w32_get_bdf_glyph): Convert to DIB format. Return bytes read.
(get_bitmap_with_cache): Use new cache implementation.
(create_offscreen_bitmap): New function.
(w32_BDF_TextOut): Use it. Draw glyphs as DIBs.
2000-09-29 21:23:10 +00:00
Andrew Innes
cc26af7500 (search_file_line):
(set_bdf_font_info):
(seek_char):
(w32_get_bdf_glyph):
(w32_BDF_to_x_font): Fix compile warnings.
2000-08-22 22:50:55 +00:00
Jason Rumney
ad784d768d (w32_load_bdf_font): Initialize font->double_byte_p. 2000-05-30 21:38:23 +00:00
Jason Rumney
683e946edf Include frame.h and dispextern.h before fontset.h. 2000-03-22 21:50:25 +00:00
Jason Rumney
9c332a804d (clear_cached_bitmap_slots): Remove.
(get_bitmap_with_cache): Check if CreateBitmap failed.
Adjust cache size dynamically so cache is never larger than the
system limit of GDI resources.
Do cache clearing inline.  Move global variables to local scope.
1999-06-13 17:49:12 +00:00
Geoff Voelker
865203c3b7 Merged patches from Meadow. 1999-03-17 22:03:43 +00:00
Geoff Voelker
7b416d4284 Initial revision 1999-01-22 19:42:26 +00:00