diff options
author | Colin Okay <colin@cicadas.surf> | 2022-07-01 19:18:22 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-07-01 19:18:22 -0500 |
commit | 08a29ff775cf841a80ed2433ab219ccc953835ef (patch) | |
tree | 20020ed9ba6e8ab229925cad1432fe4b3f54a857 /src/interactive/text.lisp | |
parent | 59f5cb6c28399c84221b728daf4bd8461ab1e230 (diff) |
[remove] [dep] lambda-riffs and hyperquirks
Diffstat (limited to 'src/interactive/text.lisp')
-rw-r--r-- | src/interactive/text.lisp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interactive/text.lisp b/src/interactive/text.lisp index caba48e..a7c0582 100644 --- a/src/interactive/text.lisp +++ b/src/interactive/text.lisp @@ -56,7 +56,12 @@ (setf vao vao% elem-count count%)) (setf newlines (count #\newline content)) - (hq:with-plist ((l :l) (r :r)) (cl-fond:compute-extent (font-object font) content) + (let* ((extent + (cl-fond:compute-extent (font-object font) content)) + (l + (getf extent :l)) + (r + (getf extent :r))) (setf base-width (- r l) base-height (* (cl-fond:text-height (font-object font)) (1+ newlines)))))) |