aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32bdf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * w32bdf.c, w32bdf.h: Remove obsolete files.Jason Rumney2008-06-261-875/+0
| | | | | | | | | | | | | | | | | | | | | | | | * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c. * w32gui.h: Don't include w32bdf.h. (XCharStruct, enum w32_char_font_type, W32FontStruct): Remove obsolete font support. * w32font.h (struct w32font_info): Remove compat_w32_font. Add hfont member. (FONT_COMPAT): Remove obsolete macro. * w32font.c (w32font_close): Remove compat code. Delete hfont member. (w32font_encode_char, w32font_text_extents): Use new hfont member. (w32font_open_internal): Remove compat code. Set new hfont member. (Fx_select_font): Use new hfont member. * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape): (uniscribe_encode_char): Use new hfont member. * w32term.c (x_draw_glyph_string_foreground): (x_draw_composite_glyph_string_foreground): Use new hfont member. (x_draw_glyph_string): Use metrics in w32font_info.
* Make "xfree (NULL)" a no-op; remove useless if-before-xfree.Jim Meyering2008-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (xfree): Return right away for a NULL arg. * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests. * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise. * src/mac.c (create_apple_event_from_event_ref): Likewise. (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise. * src/doprnt.c (doprnt1): Likewise. * src/frame.c (frame): Likewise. * src/keyboard.c (wipe_kboard): Likewise. * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap): (init_font_name_table, mac_unload_font, x_delete_display): Likewise. * src/term.c (tty_default_color_capabilities, maybe_fatal) (delete_tty): Likewise. * src/w16select.c (string): Likewise. * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. * src/w32bdf.c (w32_free_bdf_font): Likewise. * src/w32fns.c (w32_unload_font): Likewise. * src/w32font.c (w32font_close): Likewise. * src/window.c (size_window): Likewise. * src/xselect.c (receive_incremental_selection): Likewise. * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise. * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise. * src/w32.c (stat): Likewise.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* Merge from emacs--devo--0Miles Bader2008-01-091-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-12-061-2/+2
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
| * (w32_init_bdf_font, w32_BDF_to_x_font): CreateFileMappingJason Rumney2007-11-191-2/+2
| | | | | | | | returns NULL on failure.
* | Merge from emacs--devo--0Miles Bader2007-07-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-831) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 70-74) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
| * (w32_BDF_to_x_font): Unmap memory when finished.Jason Rumney2007-06-201-1/+2
| | | | | | | | (w32_free_bdf_font): Unmap memory not handle.
* | Merge from emacs--devo--0Miles Bader2007-07-091-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 803-805) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
| * | (w32_BDF_to_x_font): Unmap memory when finished.Jason Rumney2007-06-201-1/+2
| |/ | | | | | | (w32_free_bdf_font): Unmap memory not handle.
* | (get_quoted_string): Make staticJason Rumney2007-06-211-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-01-261-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
| * Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | | | | | 2001).
* | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13Miles Bader2006-02-081-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 43-57) - Update from CVS - Merge from erc--emacs--0 - Make constrain-to-field notice overlays - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 18-21) - Update from CVS - Merge from emacs--devo--0
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
| |
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78Miles Bader2005-08-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 514-518) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 104-105) - Update from CVS
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
| |
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68Miles Bader2005-07-071-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 459-473) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 86-87) - Update from CVS
| * Update FSF's address.Lute Kamstra2005-07-041-2/+2
| |
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-63Miles Bader2005-06-151-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 358-423) - Update from CVS - Remove "-face" suffix from widget faces - Remove "-face" suffix from custom faces - Remove "-face" suffix from change-log faces - Remove "-face" suffix from compilation faces - Remove "-face" suffix from diff-mode faces - lisp/longlines.el (longlines-visible-face): Face removed - Remove "-face" suffix from woman faces - Remove "-face" suffix from whitespace-highlight face - Remove "-face" suffix from ruler-mode faces - Remove "-face" suffix from show-paren faces - Remove "-face" suffix from log-view faces - Remove "-face" suffix from smerge faces - Remove "-face" suffix from show-tabs faces - Remove "-face" suffix from highlight-changes faces - Remove "-face" suffix from and downcase info faces - Remove "-face" suffix from pcvs faces - Update uses of renamed pcvs faces - Tweak ChangeLog - Remove "-face" suffix from strokes-char face - Remove "-face" suffix from compare-windows face - Remove "-face" suffix from calendar faces - Remove "-face" suffix from diary-button face - Remove "-face" suffix from testcover faces - Remove "-face" suffix from viper faces - Remove "-face" suffix from org faces - Remove "-face" suffix from sgml-namespace face - Remove "-face" suffix from table-cell face - Remove "-face" suffix from tex-mode faces - Remove "-face" suffix from texinfo-heading face - Remove "-face" suffix from flyspell faces - Remove "-face" suffix from gomoku faces - Remove "-face" suffix from mpuz faces - Merge from gnus--rel--5.10 - Remove "-face" suffix from Buffer-menu-buffer face - Remove "-face" suffix from antlr-mode faces - Remove "-face" suffix from ebrowse faces - Remove "-face" suffix from flymake faces - Remove "-face" suffix from idlwave faces - Remove "-face" suffix from sh-script faces - Remove "-face" suffix from vhdl-mode faces - Remove "-face" suffix from which-func face - Remove "-face" suffix from cperl-mode faces - Remove "-face" suffix from ld-script faces - Fix cperl-mode font-lock problem - Tweak which-func face * gnus--rel--5.10 (patch 80-82) - Merge from emacs--cvs-trunk--0 - Update from CVS
| * (create_offscreen_bitmap): Cast `bitsp' to `void **' inEli Zaretskii2005-06-111-1/+1
| | | | | | | | the call to CreateDIBSection, to avoid a compiler warning.
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-2Miles Bader2005-01-161-1/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-83 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-84 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-3 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-4 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-5 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-6 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-11 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-12 Remove "-face" suffix from lazy-highlight face name * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-13 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-16 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-17 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-18 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-21 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-22 <no summary provided> * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-23 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-39 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-40 Fix regressions from latest reftex update * miles@gnu.org--gnu-2005/gnus--rel--5.10--base-0 tag of miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-82 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-1 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-2 Merge from miles@gnu.org--gnu-2004 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-3 Merge from emacs--cvs-trunk--0
| * (w32_load_bdf_font): Set fontp->average_width andJason Rumney2005-01-031-1/+4
| | | | | | | | fontp->space_width to FONT_WIDTH so they are valid.
| * Remove period at end of error message.Jan Djärv2003-11-161-4/+4
| |
| * * w32fns.c (w32_load_system_font): Clear all members of FONTP beforeJason Rumney2003-10-021-0/+1
| | | | | | | | | | filling them. * w32bdf.c (w32_load_bdf_font): Likewise.
* | Sync to HEADKenichi Handa2004-04-161-4/+7
| |
* | (w32_load_bdf_font): Clear font_info before filling.Jason Rumney2003-10-111-2/+3
| | | | | | | | encoding becomes encoding_type.
* | *** empty log message ***Kenichi Handa2003-09-081-1/+1
|\ \
| * | Include "character.h" instead of "charset.h".Kenichi Handa2002-03-011-1/+1
| | |
* | | New directoryKenichi Handa2003-09-081-3/+0
| |/ |/|
* | Add arch taglinesMiles Bader2003-09-011-0/+3
| |
* | Trailing whitespace deleted.Juanma Barranquero2003-02-041-8/+8
|/
* *** empty log message ***Jason Rumney2002-02-181-0/+7
|
* Include <config.h>.Pavel Janík2002-01-011-1/+5
|
* Fix typo.Pavel Janík2001-12-121-1/+1
|
* Don't define min/max.Gerd Moellmann2001-10-081-3/+0
|
* (search_file_line, set_bdf_font_info, seek_char)Eli Zaretskii2001-05-121-31/+49
| | | | | | | (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.
* (search_file_line, get_cached_font_char)Jason Rumney2001-01-121-5/+2
| | | | (cache_char_offset, create_offscreen_bitmap): Remove unused variables.
* (w32_init_bdf_font): Fix test for valid bmp heap.Jason Rumney2000-12-211-1/+1
|
* (set_bdf_font_info): Set it.Jason Rumney2000-10-291-3/+5
| | | | | (w32_BDF_TextOut): Swap byte order of double byte characters. (w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
* (w32_load_bdf_font): Call w32_cache_char_metrics.Andrew Innes2000-10-211-1/+4
|
* (search_file_line): Fix skipping of whitespace.Jason Rumney2000-09-291-108/+193
| | | | | | | | | | | | | | | | (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.
* (search_file_line):Andrew Innes2000-08-221-6/+8
| | | | | | | (set_bdf_font_info): (seek_char): (w32_get_bdf_glyph): (w32_BDF_to_x_font): Fix compile warnings.
* (w32_load_bdf_font): Initialize font->double_byte_p.Jason Rumney2000-05-301-0/+3
|
* Include frame.h and dispextern.h before fontset.h.Jason Rumney2000-03-221-0/+2
|
* (clear_cached_bitmap_slots): Remove.Jason Rumney1999-06-131-33/+44
| | | | | | | (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.
* Merged patches from Meadow.Geoff Voelker1999-03-171-69/+202
|
* Initial revisionGeoff Voelker1999-01-221-0/+604