vte291 + pango-1.44以降でフォントInconsolataの高さが大きすぎるのを修正する

vteがpango metricsを使わないようにする

*** vte-0.66.2/src/fonts-pangocairo.cc    2021-11-28 04:11:20.000000000 +0900
--- vte-0.66.2.new/src/fonts-pangocairo.cc    2022-03-20 13:00:01.508322744 +0900
***************
*** 220,226 ****
  
          measure_font();
  
! #if PANGO_VERSION_CHECK(1, 44, 0)
          /* Try using the font's metrics; see issue#163. */
          if (auto metrics = vte::take_freeable
              (pango_context_get_metrics(context.get(),
--- 220,226 ----
  
          measure_font();
  
! #if 0
          /* Try using the font's metrics; see issue#163. */
          if (auto metrics = vte::take_freeable
              (pango_context_get_metrics(context.get(),

vteのスケールで1.0以下を受け付けるようにする

diff -cr vte-0.66.2/src/vtedefines.hh vte-0.66.2.new/src/vtedefines.hh
*** vte-0.66.2/src/vtedefines.hh    2021-11-28 04:11:20.000000000 +0900
--- vte-0.66.2.new/src/vtedefines.hh    2022-04-02 16:07:37.478181255 +0900
***************
*** 96,102 ****
  
  #define VTE_FONT_SCALE_MIN (.25)
  #define VTE_FONT_SCALE_MAX (4.)
! #define VTE_CELL_SCALE_MIN (1.)
  #define VTE_CELL_SCALE_MAX (2.)
  
  /* Minimum time between two beeps (µs) */
--- 96,102 ----
  
  #define VTE_FONT_SCALE_MIN (.25)
  #define VTE_FONT_SCALE_MAX (4.)
! #define VTE_CELL_SCALE_MIN (.9)
  #define VTE_CELL_SCALE_MAX (2.)
  
  /* Minimum time between two beeps (µs) */

xfce4-terminalのスケールで1.0以下を設定できるようにする

diff -c -r xfce4-terminal-0.8.10/terminal/terminal-preferences.c xfce4-terminal-0.8.10.new/terminal/terminal-preferences.c
*** xfce4-terminal-0.8.10/terminal/terminal-preferences.c    2020-12-23 06:48:03.000000000 +0900
--- xfce4-terminal-0.8.10.new/terminal/terminal-preferences.c    2022-04-02 16:31:15.047251592 +0900
***************
*** 1214,1220 ****
        g_param_spec_double ("cell-width-scale",
                             NULL,
                             "CellWidthScale",
!                            1.0, 2.0, 1.0,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
  
    /**
--- 1214,1220 ----
        g_param_spec_double ("cell-width-scale",
                             NULL,
                             "CellWidthScale",
!                            0.9, 2.0, 1.0,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
  
    /**
***************
*** 1224,1230 ****
        g_param_spec_double ("cell-height-scale",
                             NULL,
                             "CellHeightScale",
!                            1.0, 2.0, 1.0,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
  
    /* install all properties */
--- 1224,1230 ----
        g_param_spec_double ("cell-height-scale",
                             NULL,
                             "CellHeightScale",
!                            0.9, 2.0, 1.0,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
  
    /* install all properties */
diff -c -r xfce4-terminal-0.8.10/terminal/terminal-preferences-ui.h xfce4-terminal-0.8.10.new/terminal/terminal-preferences-ui.h
*** xfce4-terminal-0.8.10/terminal/terminal-preferences-ui.h    2020-12-23 06:54:33.000000000 +0900
--- xfce4-terminal-0.8.10.new/terminal/terminal-preferences-ui.h    2022-04-02 17:10:04.205443405 +0900
***************
*** 16,26 ****
    "ound-image-shading\"><property name=\"upper\">1</property><property nam"
    "e=\"step_increment\">0.01</property><property name=\"page_increment\">0"
    ".10000000000000001</property></object><object class=\"GtkAdjustment\" i"
!   "d=\"cell-height-scale\"><property name=\"lower\">1</property><property "
    "name=\"upper\">2</property><property name=\"value\">1</property><proper"
    "ty name=\"step_increment\">0.050000000000000003</property><property nam"
    "e=\"page_increment\">0.25</property></object><object class=\"GtkAdjustm"
!   "ent\" id=\"cell-width-scale\"><property name=\"lower\">1</property><pro"
    "perty name=\"upper\">2</property><property name=\"value\">1</property><"
    "property name=\"step_increment\">0.050000000000000003</property><proper"
    "ty name=\"page_increment\">0.25</property></object><object class=\"GtkA"
--- 16,26 ----
    "ound-image-shading\"><property name=\"upper\">1</property><property nam"
    "e=\"step_increment\">0.01</property><property name=\"page_increment\">0"
    ".10000000000000001</property></object><object class=\"GtkAdjustment\" i"
!   "d=\"cell-height-scale\"><property name=\"lower\">0.9</property><property "
    "name=\"upper\">2</property><property name=\"value\">1</property><proper"
    "ty name=\"step_increment\">0.050000000000000003</property><property nam"
    "e=\"page_increment\">0.25</property></object><object class=\"GtkAdjustm"
!   "ent\" id=\"cell-width-scale\"><property name=\"lower\">0.9</property><pro"
    "perty name=\"upper\">2</property><property name=\"value\">1</property><"
    "property name=\"step_increment\">0.050000000000000003</property><proper"
    "ty name=\"page_increment\">0.25</property></object><object class=\"GtkA"