(Fopen_font): Compute pixel size correctly.
This commit is contained in:
parent
d5b01609a0
commit
d03b5cdb8c
1 changed files with 1 additions and 1 deletions
|
@ -4480,7 +4480,7 @@ DEFUN ("open-font", Fopen_font, Sopen_font, 1, 3, 0,
|
|||
{
|
||||
CHECK_NUMBER_OR_FLOAT (size);
|
||||
if (FLOATP (size))
|
||||
isize = POINT_TO_PIXEL (- isize, XFRAME (frame)->resy);
|
||||
isize = POINT_TO_PIXEL (XFLOAT_DATA (size), XFRAME (frame)->resy);
|
||||
else
|
||||
isize = XINT (size);
|
||||
if (isize == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue