[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfaces.c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfaces.c |
Date: |
Sun, 25 May 2003 13:47:13 -0400 |
Index: emacs/src/xfaces.c
diff -c emacs/src/xfaces.c:1.276 emacs/src/xfaces.c:1.277
*** emacs/src/xfaces.c:1.276 Sat May 24 18:09:13 2003
--- emacs/src/xfaces.c Sun May 25 13:47:13 2003
***************
*** 6084,6090 ****
struct font_name *font;
int specified_pt;
{
! char point_size[20], pixel_size[20];
int pixel_value;
double resy = FRAME_X_DISPLAY_INFO (f)->resy;
double pt;
--- 6084,6090 ----
struct font_name *font;
int specified_pt;
{
! char pixel_size[20];
int pixel_value;
double resy = FRAME_X_DISPLAY_INFO (f)->resy;
double pt;
***************
*** 6108,6117 ****
/* We should keep POINT_SIZE 0. Otherwise, X server can't open a
font of the specified PIXEL_SIZE. */
#if 0
! /* Set point size of the font. */
! sprintf (point_size, "%d", (int) pt);
! font->fields[XLFD_POINT_SIZE] = point_size;
! font->numeric[XLFD_POINT_SIZE] = pt;
#endif
/* Set pixel size. */
--- 6108,6119 ----
/* We should keep POINT_SIZE 0. Otherwise, X server can't open a
font of the specified PIXEL_SIZE. */
#if 0
! { /* Set point size of the font. */
! char point_size[20];
! sprintf (point_size, "%d", (int) pt);
! font->fields[XLFD_POINT_SIZE] = point_size;
! font->numeric[XLFD_POINT_SIZE] = pt;
! }
#endif
/* Set pixel size. */