Files
bsdports/xapp/libqt4/files/patch-x-tools-makeqpf-qpf2.cpp
2019-12-26 07:26:06 +00:00

12 lines
302 B
C++

--- ./tools/makeqpf/qpf2.cpp.orig 2015-05-07 16:14:40.000000000 +0200
+++ ./tools/makeqpf/qpf2.cpp 2019-03-22 13:54:51.855881000 +0200
@@ -363,6 +363,8 @@
int startGlyphIndex;
};
+#define log2(x) log(x)/log(2)
+
static QByteArray generateTrueTypeCMap(QFontEngine *fe)
{
QByteArray cmap;