diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-21 19:07:30 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-21 19:07:30 +0000 |
| commit | 708bb014e9979e55a04c4d254416b7af695594d1 (patch) | |
| tree | 62c1522d9b78a46b2bfe01562b7a44a93d247384 /src | |
| parent | ca3c8cdfaedb07a5c3b10754b00438a284a7c0cb (diff) | |
use sans for fonts instead of noto sans
Diffstat (limited to 'src')
| -rw-r--r-- | src/debug/HyprDebugOverlay.cpp | 2 | ||||
| -rw-r--r-- | src/hyprerror/HyprError.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/HyprDebugOverlay.cpp b/src/debug/HyprDebugOverlay.cpp index c9fde1ad..6b2ed914 100644 --- a/src/debug/HyprDebugOverlay.cpp +++ b/src/debug/HyprDebugOverlay.cpp @@ -65,7 +65,7 @@ int CHyprMonitorDebugOverlay::draw(int offset) { const float FPS = 1.f / (avgFrametime / 1000.f); // frametimes are in ms const float idealFPS = m_dLastFrametimes.size(); - cairo_select_font_face(g_pDebugOverlay->m_pCairo, "Noto Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); + cairo_select_font_face(g_pDebugOverlay->m_pCairo, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); cairo_set_font_size(g_pDebugOverlay->m_pCairo, 10); cairo_set_source_rgba(g_pDebugOverlay->m_pCairo, 1.f, 1.f, 1.f, 1.f); diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index aeb96d5c..40f01aa3 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -72,7 +72,7 @@ void CHyprError::createQueued() { // draw the text with a common font const CColor textColor = m_cQueued.r + m_cQueued.g + m_cQueued.b < 0.2f ? CColor(1.0, 1.0, 1.0, 1.0) : CColor(0, 0, 0, 1.0); - cairo_select_font_face(CAIRO, "Noto Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); + cairo_select_font_face(CAIRO, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); cairo_set_font_size(CAIRO, FONTSIZE); cairo_set_source_rgba(CAIRO, textColor.r, textColor.g, textColor.b, textColor.a); |
