-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: f22190d699e885d7b36a76eed9476127a61b239f:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit f22190d699e885d7b36a76eed9476127a61b239f
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Sat Jan 28 15:18:29 2012 +0000

    Do not add lineSpace to the maximum font height as lineSpace should
    modify the line height only.

diff --git a/Changes b/Changes

index 2ab79431b2f31afa197dfd6f99cba5c3b6229da1..

index ..0b27a81861b87cae64952f99d4aa0dbbf13d3c66 100644

--- a/Changes
+++ b/Changes
@@ -21,6 +21,7 @@ TODO: perl-shell-window? perl-unix-socket?
 TODO: command line editing when icanon?
 TODO: split ROW into a ROW_fast (0..total*2-1) and ROW macros?

+	- the font height is not augmented anymore when lineSpace is non zero.
 	- fix "new pagemap" vs. "delete pagemap" mismatch ([] vs. non-[]),
           as diagnosed by clang.
 	- fix height mismatch between active and inactive cursor when
diff --git a/src/main.C b/src/main.C

index afb5eda1408b0974c339804838cb49c4adaff0f9..

index ..de71beda81814728c59659217889b5e712a79c04 100644

--- a/src/main.C
+++ b/src/main.C
@@ -766,13 +766,12 @@ rxvt_term::set_fonts ()
   fontset[0] = fs;

   prop = (*fs)[rxvt_fontset::firstFont]->properties ();
-  prop.height += lineSpace;
   prop.width += letterSpace;

   fs->set_prop (prop, false);

   fwidth  = prop.width;
-  fheight = prop.height;
+  fheight = prop.height + lineSpace;
   fbase   = prop.ascent;

   for (int style = 1; style < 4; style++)

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 12:22:54 2024