mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
chore(tabler): renamed font to tabler.ttf
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
#include <string_view>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef NOCTALIA_ASSETS_DIR
|
||||
#define NOCTALIA_ASSETS_DIR "assets"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
std::string toLower(std::string_view s) {
|
||||
|
||||
@@ -99,7 +99,7 @@ void RenderContext::initialize(wl_display* display) {
|
||||
m_textRenderer.initialize(fonts);
|
||||
const auto boldFonts = m_fontService.resolveFallbackChain("sans-serif", 8, FC_WEIGHT_BOLD);
|
||||
m_boldTextRenderer.initialize(boldFonts);
|
||||
m_iconTextRenderer.initialize({{NOCTALIA_ASSETS_DIR "/fonts/tabler-icons.ttf", 0}});
|
||||
m_iconTextRenderer.initialize({{NOCTALIA_ASSETS_DIR "/fonts/tabler.ttf", 0}});
|
||||
ensureGlPrograms();
|
||||
|
||||
// Pre-warm the glyph atlas so first use doesn't stall.
|
||||
|
||||
Reference in New Issue
Block a user