X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=22a1f6bdef5121018de5d2aae8d5af4480385c26;hp=67e2076deff8525bba3526e1f2563fab26352dc0;hb=f73ce73b9cec7f1e2c265b3cbcc7bca9c4011d11;hpb=c4f8f7c6c7e43fc9fd5358197ca866b4186f636c diff --git a/src/main.cpp b/src/main.cpp index 67e2076..22a1f6b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,6 +21,8 @@ void sigfpe_handler(int sig) int main(int argc, char ** argv) { + + //Debug("Main!"); signal(SIGFPE, sigfpe_handler); #if REALTYPE == REAL_IRRAM @@ -36,9 +38,13 @@ int main(int argc, char ** argv) #ifndef __MINGW32__ feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); #endif - + #if REALTYPE == REAL_MPFRCPP + mpfr_set_default_prec(6); + #endif DebugRealInfo(); + + Document doc("","fonts/ComicSans.ttf"); srand(time(NULL));