[dev] Re: [st] [PATCH] Character size scaling factors

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Tue, 30 Jul 2013 19:03:35 -0500

On Sun, Jul 28, 2013 at 10:09:59PM -0500, Eric Pruitt wrote:
> The bounding boxes for characters can be scaled using "cwscale" and "chscale"
> to scale the width and height respectively.
> ---
> TODO | 1 -
> config.def.h | 4 ++++
> st.c | 20 +++++++++++++-------
> 3 files changed, 17 insertions(+), 8 deletions(-)

Missed a couple CEIL calls in the original patch. Amended patch attached
with "xw.cw = dc.font.width * cwscale;" changed to "xw.cw =
CEIL(dc.font.width * cwscale);" with the same done for the height.

Eric

Received on Wed Jul 31 2013 - 02:03:35 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 31 2013 - 02:12:08 CEST