/[emacs]/emacs/src/w32bdf.c
ViewVC logotype

Diff of /emacs/src/w32bdf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by jhd, Sun Nov 16 16:17:08 2003 UTC revision 1.21 by jasonr, Mon Jan 3 22:52:01 2005 UTC
# Line 774  struct font_info *w32_load_bdf_font (str Line 774  struct font_info *w32_load_bdf_font (str
774    fontp->name = (char *) xmalloc (strlen (fontname) + 1);    fontp->name = (char *) xmalloc (strlen (fontname) + 1);
775    bcopy (fontname, fontp->name, strlen (fontname) + 1);    bcopy (fontname, fontp->name, strlen (fontname) + 1);
776    fontp->full_name = fontp->name;    fontp->full_name = fontp->name;
777    fontp->size = FONT_WIDTH (font);    /* FIXME: look at BDF spec to see if there are better ways of finding
778         average_width and space_width, hopefully that don't involve working out
779         the values for ourselves from the data.  */
780      fontp->size = fontp->average_width = fontp->space_width = FONT_WIDTH (font);
781    fontp->height = FONT_HEIGHT (font);    fontp->height = FONT_HEIGHT (font);
782    
783      /* The slot `encoding' specifies how to map a character      /* The slot `encoding' specifies how to map a character

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26