19 lines
801 B
C++
19 lines
801 B
C++
// MinGW 8.1 lacks the newer DirectWrite interfaces used by openNURBS font rendering.
|
|
// 3DM geometry import never requests glyph outlines; provide link-time stubs.
|
|
#include "opennurbs.h"
|
|
|
|
bool ON_WindowsDWriteGetGlyphMetrics(const ON_FontGlyph*, ON_TextBox&) { return false; }
|
|
bool ON_WindowsDWriteGetFontMetrics(const ON_Font*, ON_FontMetrics&) { return false; }
|
|
bool ON_WindowsDWriteGetGlyphOutline(const ON_FontGlyph*, ON_OutlineFigure::Type, ON_Outline&) { return false; }
|
|
|
|
ON_Font::Stretch ON_Font::FontStretchFromDWriteStretch(unsigned int, ON_Font::Stretch fallback) {
|
|
return fallback;
|
|
}
|
|
|
|
unsigned int ON_Font::GetInstalledWindowsDWriteFonts(
|
|
const wchar_t*, bool, bool, ON_SimpleArray<ON_WindowsDWriteFontInformation>&) {
|
|
return 0;
|
|
}
|
|
|
|
extern "C" int fcloseall(void) { return 0; }
|