umk: MacOS building fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@15681 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2021-01-19 11:06:05 +00:00
parent 9f08d0b1d9
commit ba092bb206

View file

@ -190,3 +190,36 @@ String Ide::IdeGetNestFolder()
return Null;
}
#if defined(__APPLE__) && defined(flagLINUX) // we are on macos building using make
#include <Draw/Draw.h>
namespace Upp {
CommonFontInfo GetFontInfoSys(Font font)
{
CommonFontInfo fi;
return fi;
}
GlyphInfo GetGlyphInfoSys(Font font, int chr)
{
return GlyphInfo();
}
Vector<FaceInfo> GetAllFacesSys()
{
Vector<FaceInfo> r;
return r;
}
String GetFontDataSys(Font font)
{
return String();
}
void RenderCharacterSys(FontGlyphConsumer& sw, double x, double y, int chr, Font font) {}
};
#endif