commit 58867477f46bfcbb5c5f5daa2cc09188e448f765
parent 9f090b9e05b6fe7ddbb5123f61ca6f51f2d58353
Author: Adam <[email protected]>
Date: Sat, 30 Mar 2024 00:10:31 -0500
Merge pull request #86 from washikano/ofl_font_for_patchsequencer
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);