From 811df7c34d756d7a0613a07591cd5d37392333dd Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 20 Mar 2026 22:05:03 +0100 Subject: [PATCH] Changed bold tags from WEIGHT_ULTRAHEAVY to WEIGHT_BOLD --- src/source.cpp | 2 +- src/terminal.cpp | 2 +- src/tooltips.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/source.cpp b/src/source.cpp index 47b5ba3..87f2e04 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -157,7 +157,7 @@ Source::View::View(const boost::filesystem::path &file_path, const Glib::RefPtr< views.emplace(this); similar_symbol_tag = get_buffer()->create_tag(); - similar_symbol_tag->property_weight() = Pango::WEIGHT_ULTRAHEAVY; + similar_symbol_tag->property_weight() = Pango::WEIGHT_BOLD; similar_symbol_tag->property_background_rgba() = Gdk::RGBA("rgba(255, 255, 255, 0.075)"); clickable_tag = get_buffer()->create_tag(); clickable_tag->property_underline() = Pango::Underline::UNDERLINE_SINGLE; diff --git a/src/terminal.cpp b/src/terminal.cpp index e17e30f..097c235 100644 --- a/src/terminal.cpp +++ b/src/terminal.cpp @@ -16,7 +16,7 @@ Terminal::Terminal() : Source::CommonView() { set_editable(false); bold_tag = get_buffer()->create_tag(); - bold_tag->property_weight() = Pango::WEIGHT_ULTRAHEAVY; + bold_tag->property_weight() = Pango::WEIGHT_BOLD; red_tag = get_buffer()->create_tag(); green_tag = get_buffer()->create_tag(); diff --git a/src/tooltips.cpp b/src/tooltips.cpp index bb54c93..15078b2 100644 --- a/src/tooltips.cpp +++ b/src/tooltips.cpp @@ -410,11 +410,11 @@ void Tooltip::wrap_lines() { void Tooltip::create_tags() { if(!h1_tag) { h1_tag = buffer->create_tag(); - h1_tag->property_weight() = Pango::WEIGHT_ULTRAHEAVY; + h1_tag->property_weight() = Pango::WEIGHT_BOLD; h1_tag->property_underline() = Pango::UNDERLINE_SINGLE; h2_tag = buffer->create_tag(); - h2_tag->property_weight() = Pango::WEIGHT_ULTRAHEAVY; + h2_tag->property_weight() = Pango::WEIGHT_BOLD; h3_tag = buffer->create_tag(); h3_tag->property_style() = Pango::Style::STYLE_ITALIC; @@ -437,7 +437,7 @@ void Tooltip::create_tags() { code_block_tag->property_paragraph_background_rgba() = background_rgba; bold_tag = buffer->create_tag(); - bold_tag->property_weight() = Pango::WEIGHT_ULTRAHEAVY; + bold_tag->property_weight() = Pango::WEIGHT_BOLD; italic_tag = buffer->create_tag(); italic_tag->property_style() = Pango::Style::STYLE_ITALIC;