commit 38225f19842abe4b9137a2e0950678f5d9afbc83
parent 9f090b9e05b6fe7ddbb5123f61ca6f51f2d58353
Author: washikano <[email protected]>
Date: Thu, 28 Mar 2024 09:47:07 -0600
OFL font for PatchSequencer
Diffstat:
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/res/Segment7Standard.ttf b/res/Segment7Standard.ttf
Binary files differ.
diff --git a/res/digital-7.ttf b/res/digital-7.ttf
Binary files differ.
diff --git a/src/ComputerscarePatchSequencer.cpp b/src/ComputerscarePatchSequencer.cpp
@@ -402,7 +402,7 @@ struct NumberDisplayWidget3 : TransparentWidget {
int *value;
ComputerscarePatchSequencer *module;
- std::string fontPath = "res/digital-7.ttf";
+ std::string fontPath = "res/Segment7Standard.ttf";
NumberDisplayWidget3() {
@@ -429,7 +429,7 @@ struct NumberDisplayWidget3 : TransparentWidget {
std::shared_ptr<Font> font = APP->window->loadFont(asset::plugin(pluginInstance, fontPath));
if (font) {
// text
- nvgFontSize(args.vg, 13);
+ nvgFontSize(args.vg, 18);
nvgFontFaceId(args.vg, font->handle);
nvgTextLetterSpacing(args.vg, 2.5);