summaryrefslogtreecommitdiffstats
path: root/gfx/thebes/gfxMathTable.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-12 12:57:04 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-12 12:57:04 +0000
commit0998c39f910fa2905d51d2186b2c6cab5fb75432 (patch)
tree87f80314510edcd71014ba930d6a134283689a75 /gfx/thebes/gfxMathTable.cpp
parent39c7fd37d5851edd2f706760a5a067ce12bb96c0 (diff)
downloadUXP-0998c39f910fa2905d51d2186b2c6cab5fb75432.tar
UXP-0998c39f910fa2905d51d2186b2c6cab5fb75432.tar.gz
UXP-0998c39f910fa2905d51d2186b2c6cab5fb75432.tar.lz
UXP-0998c39f910fa2905d51d2186b2c6cab5fb75432.tar.xz
UXP-0998c39f910fa2905d51d2186b2c6cab5fb75432.zip
Issue #80 - De-unify gfx/thebes
Diffstat (limited to 'gfx/thebes/gfxMathTable.cpp')
-rw-r--r--gfx/thebes/gfxMathTable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/thebes/gfxMathTable.cpp b/gfx/thebes/gfxMathTable.cpp
index f7047c747..d9f4462ff 100644
--- a/gfx/thebes/gfxMathTable.cpp
+++ b/gfx/thebes/gfxMathTable.cpp
@@ -8,6 +8,7 @@
#include "harfbuzz/hb-ot.h"
#define FixedToFloat(f) ((f) * (1.0 / 65536.0))
+#define FloatToFixed(f) (65536 * (f))
using namespace mozilla;