< prev index next >
src/java.desktop/share/native/libfreetype/src/base/ftbbox.c
Print this page
*** 2,12 ****
*
* ftbbox.c
*
* FreeType bbox computation (body).
*
! * Copyright (C) 1996-2019 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used
* modified and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
--- 2,12 ----
*
* ftbbox.c
*
* FreeType bbox computation (body).
*
! * Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used
* modified and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
*** 292,305 ****
{
/* upscaling too much just wastes time */
if ( shift > 2 )
shift = 2;
! q1 <<= shift;
! q2 <<= shift;
! q3 <<= shift;
! q4 <<= shift;
}
else
{
q1 >>= -shift;
q2 >>= -shift;
--- 292,305 ----
{
/* upscaling too much just wastes time */
if ( shift > 2 )
shift = 2;
! q1 *= 1 << shift;
! q2 *= 1 << shift;
! q3 *= 1 << shift;
! q4 *= 1 << shift;
}
else
{
q1 >>= -shift;
q2 >>= -shift;
< prev index next >