From 3e778c933ccd4ed4e775ef60fc54bbd506e0d696 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 23 Dec 2021 01:56:37 +0000 Subject: [PATCH] Make small fonts less blurry Who cares about correct rendering at such small sizes anyway Signed-off-by: falkTX --- Makefile | 2 +- deps/Makefile | 1 - dpf | 2 +- lv2export/Makefile | 1 - plugins/Makefile | 1 - src/Makefile.cardinal.mk | 3 ++- 6 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 714524e..c319a3e 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ endif dgl: ifneq ($(HEADLESS),true) - $(MAKE) -C dpf/dgl opengl NVG_DISABLE_SKIPPING_WHITESPACE=true USE_NANOVG_FBO=true + $(MAKE) -C dpf/dgl opengl NVG_DISABLE_SKIPPING_WHITESPACE=true NVG_FONT_TEXTURE_FLAGS=NVG_IMAGE_NEAREST USE_NANOVG_FBO=true endif plugins: deps diff --git a/deps/Makefile b/deps/Makefile index 569e440..b1bef04 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -9,7 +9,6 @@ DEP_PATH = $(abspath ../src/Rack/dep) # -------------------------------------------------------------- # Import base definitions -USE_NANOVG_FBO = true include ../dpf/Makefile.base.mk # -------------------------------------------------------------- diff --git a/dpf b/dpf index 4938370..b325295 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit 493837049e773e45f842c0ee83b6b69c7c56adf9 +Subproject commit b325295d6c77032eeb042aacd242683aa1773f5d diff --git a/lv2export/Makefile b/lv2export/Makefile index e5a8ff1..0549e88 100644 --- a/lv2export/Makefile +++ b/lv2export/Makefile @@ -14,7 +14,6 @@ SYSDEPS ?= false # -------------------------------------------------------------- # Import base definitions -USE_NANOVG_FBO = true include ../dpf/Makefile.base.mk # -------------------------------------------------------------- diff --git a/plugins/Makefile b/plugins/Makefile index 2b878a6..dff26f6 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -14,7 +14,6 @@ SYSDEPS ?= false # -------------------------------------------------------------- # Import base definitions -USE_NANOVG_FBO = true include ../dpf/Makefile.base.mk # -------------------------------------------------------------- diff --git a/src/Makefile.cardinal.mk b/src/Makefile.cardinal.mk index 7765bf1..3efdd56 100644 --- a/src/Makefile.cardinal.mk +++ b/src/Makefile.cardinal.mk @@ -73,7 +73,6 @@ endif # -------------------------------------------------------------- # Import base definitions -USE_NANOVG_FBO = true include ../../dpf/Makefile.base.mk # -------------------------------------------------------------- @@ -118,6 +117,8 @@ EXTRA_LIBS = $(RACK_EXTRA_LIBS) $(CARLA_EXTRA_LIBS) $(STATIC_CARLA_PLUGIN_LIBS) # -------------------------------------------------------------- # Do some magic +NVG_DISABLE_SKIPPING_WHITESPACE = true +NVG_FONT_TEXTURE_FLAGS = NVG_IMAGE_NEAREST USE_NANOVG_FBO = true USE_VST2_BUNDLE = true include ../../dpf/Makefile.plugins.mk