|
|
@@ -15,9 +15,12 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
#include "../NanoVG.hpp" |
|
|
|
#include "Resources.hpp" |
|
|
|
#include "WidgetPrivateData.hpp" |
|
|
|
|
|
|
|
#ifndef DGL_NO_SHARED_RESOURCES |
|
|
|
# include "Resources.hpp" |
|
|
|
#endif |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
#if defined(DISTRHO_OS_WINDOWS) |
|
|
@@ -895,6 +898,7 @@ int NanoVG::textBreakLines(const char* string, const char* end, float breakRowWi |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
#ifndef DGL_NO_SHARED_RESOURCES |
|
|
|
void NanoVG::loadSharedResources() |
|
|
|
{ |
|
|
|
if (nvgFindFont(fContext, NANOVG_DEJAVU_SANS_TTF) >= 0) |
|
|
@@ -904,6 +908,7 @@ void NanoVG::loadSharedResources() |
|
|
|
|
|
|
|
nvgCreateFontMem(fContext, NANOVG_DEJAVU_SANS_TTF, (const uchar*)dejavusans_ttf, dejavusans_ttf_size, 0); |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
|
|
|
|
|