changeset 89875:10387ba10fe5

(xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE].
author Kenichi Handa <handa@m17n.org>
date Tue, 06 Apr 2004 07:33:07 +0000
parents 90e1a09d1be5
children 04cdfcb3563c
files src/xfaces.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Mar 30 13:09:57 2004 +0000
+++ b/src/xfaces.c	Tue Apr 06 07:33:07 2004 +0000
@@ -2230,7 +2230,9 @@
    72dpi versions, only.)
 
    Value is the real point size of FONT on frame F, or 0 if it cannot
-   be determined.  */
+   be determined.
+
+   By side effect, set FONT->numeric[XLFD_PIXEL_SIZE].  */
 
 static INLINE int
 xlfd_point_size (f, font)
@@ -2269,6 +2271,7 @@
   else
     pixel = atoi (pixel_field);
 
+  font->numeric[XLFD_PIXEL_SIZE] = pixel;
   if (pixel == 0)
     real_pt = 0;
   else