[vte] Revert "font: pangocairo: Use PangoFontMetrics to measure the font"
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Revert "font: pangocairo: Use PangoFontMetrics to measure the font"
- Date: Tue, 2 Feb 2021 19:07:04 +0000 (UTC)
commit 8d4204f3afb159ac883760350c92c8f4bc4e9836
Author: Christian Persch <chpe src gnome org>
Date: Tue Feb 2 20:06:56 2021 +0100
Revert "font: pangocairo: Use PangoFontMetrics to measure the font"
This regresses https://gitlab.gnome.org/GNOME/vte/-/issues/138 .
Reopens: https://gitlab.gnome.org/GNOME/vte/-/issues/163
src/fonts-pangocairo.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/fonts-pangocairo.cc b/src/fonts-pangocairo.cc
index 52847af5..b91a1489 100644
--- a/src/fonts-pangocairo.cc
+++ b/src/fonts-pangocairo.cc
@@ -225,7 +225,8 @@ FontInfo::FontInfo(PangoContext *context)
// FIXME!!!
m_string = g_string_sized_new(VTE_UTF8_BPC+1);
-#if PANGO_VERSION_CHECK(1, 44, 0)
+ /* See https://gitlab.gnome.org/GNOME/vte/-/issues/163 */
+#if 0 // PANGO_VERSION_CHECK(1, 44, 0)
auto need_measure = true;
if (auto metrics = vte::take_freeable
(pango_context_get_metrics(context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]