emacs-diffs
[Top][All Lists]
Advanced

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

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


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/src/xfaces.c
Date: Wed, 01 Jun 2005 04:21:25 -0400

Index: emacs/src/xfaces.c
diff -c emacs/src/xfaces.c:1.321 emacs/src/xfaces.c:1.322
*** emacs/src/xfaces.c:1.321    Thu Apr 28 13:14:06 2005
--- emacs/src/xfaces.c  Wed Jun  1 08:21:25 2005
***************
*** 6435,6446 ****
    if (font->numeric[XLFD_RESY] != 0)
      {
        pt = resy / font->numeric[XLFD_RESY] * specified_pt + 0.5;
!       pixel_value = font->numeric[XLFD_RESY] / (PT_PER_INCH * 10.0) * pt;
      }
    else
      {
        pt = specified_pt;
!       pixel_value = resy / (PT_PER_INCH * 10.0) * pt;
      }
    /* We may need a font of the different size.  */
    pixel_value *= font->rescale_ratio;
--- 6435,6446 ----
    if (font->numeric[XLFD_RESY] != 0)
      {
        pt = resy / font->numeric[XLFD_RESY] * specified_pt + 0.5;
!       pixel_value = font->numeric[XLFD_RESY] / (PT_PER_INCH * 10.0) * pt + 
0.5;
      }
    else
      {
        pt = specified_pt;
!       pixel_value = resy / (PT_PER_INCH * 10.0) * pt + 0.5;
      }
    /* We may need a font of the different size.  */
    pixel_value *= font->rescale_ratio;




reply via email to

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