From 824e239915b9420dd32c6b082ca6b7ec49ebe45c Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sat, 16 May 2020 09:58:42 -0700 Subject: [PATCH] core-text: change metrics>dim not to ceiling. --- basis/core-text/core-text.factor | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/basis/core-text/core-text.factor b/basis/core-text/core-text.factor index ab0b857b38..8a7b496967 100644 --- a/basis/core-text/core-text.factor +++ b/basis/core-text/core-text.factor @@ -77,9 +77,7 @@ render-loc render-dim ; compute-height ; : metrics>dim ( bounds -- dim ) - [ width>> ] [ [ ascent>> ] [ descent>> ] bi + ] bi - [ ceiling >integer ] - bi@ 2array ; + [ width>> ] [ [ ascent>> ] [ descent>> ] bi + ] bi 2array ; : fill-background ( context font dim -- ) [ background>> >rgba-components CGContextSetRGBFillColor ]