emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32bdf.c


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32bdf.c
Date: Mon, 03 Jan 2005 18:04:05 -0500

Index: emacs/src/w32bdf.c
diff -c emacs/src/w32bdf.c:1.20 emacs/src/w32bdf.c:1.21
*** emacs/src/w32bdf.c:1.20     Sun Nov 16 16:17:08 2003
--- emacs/src/w32bdf.c  Mon Jan  3 22:52:01 2005
***************
*** 774,780 ****
    fontp->name = (char *) xmalloc (strlen (fontname) + 1);
    bcopy (fontname, fontp->name, strlen (fontname) + 1);
    fontp->full_name = fontp->name;
!   fontp->size = FONT_WIDTH (font);
    fontp->height = FONT_HEIGHT (font);
  
      /* The slot `encoding' specifies how to map a character
--- 774,783 ----
    fontp->name = (char *) xmalloc (strlen (fontname) + 1);
    bcopy (fontname, fontp->name, strlen (fontname) + 1);
    fontp->full_name = fontp->name;
!   /* FIXME: look at BDF spec to see if there are better ways of finding
!      average_width and space_width, hopefully that don't involve working out
!      the values for ourselves from the data.  */
!   fontp->size = fontp->average_width = fontp->space_width = FONT_WIDTH (font);
    fontp->height = FONT_HEIGHT (font);
  
      /* The slot `encoding' specifies how to map a character




reply via email to

[Prev in Thread] Current Thread [Next in Thread]