This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Use system font if DGL_NO_SHARED_RESOURCES is defined
Signed-off-by: falkTX <falktx@falktx.com>
pull/215/merge
falkTX
5 years ago
parent
d176b628fa
commit
05752d0fb2
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
examples/Info/InfoExampleUI.cpp
+ 5
- 0
examples/Info/InfoExampleUI.cpp
View File
@@ -36,7 +36,12 @@ public:
fSampleRate = getSampleRate();
#ifdef DGL_NO_SHARED_RESOURCES
createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf");
#else
loadSharedResources();
#endif
setGeometryConstraints(405, 256, true);
}
Write
Preview
Loading…
Cancel
Save