Commit 8f950ddb authored by Fjen Undso's avatar Fjen Undso
Browse files

render in high dpi and resample

parent 16bd1562
...@@ -325,7 +325,7 @@ static char *sizedirectives[] = { NULL, /* fontsize directives */ ...@@ -325,7 +325,7 @@ static char *sizedirectives[] = { NULL, /* fontsize directives */
* dpi/density info for dvipng/convert * dpi/density info for dvipng/convert
* ----------------------------------- */ * ----------------------------------- */
#if !defined(DPI) #if !defined(DPI)
#define DPI "120" #define DPI "600"
#endif #endif
static char density[256] = DPI; /*-D/-density arg for dvipng/convert*/ static char density[256] = DPI; /*-D/-density arg for dvipng/convert*/
/* --- /* ---
...@@ -1537,7 +1537,7 @@ char errormsg[1024] = /* latex runs but can't make .dvi */ ...@@ -1537,7 +1537,7 @@ char errormsg[1024] = /* latex runs but can't make .dvi */
"\\atop \\mbox{an error in your expression.}$}"; "\\atop \\mbox{an error in your expression.}$}";
char usepackage[1024] = "\000"; /* additional \usepackage{}'s */ char usepackage[1024] = "\000"; /* additional \usepackage{}'s */
char convertargs[1024] = /* args/switches for convert */ char convertargs[1024] = /* args/switches for convert */
" -density %%dpi%% -gamma %%gamma%%" " -density %%dpi%% -resample 120 -gamma %%gamma%%"
/*" -border 0% -fuzz 2%"*/ /*" -border 0% -fuzz 2%"*/
" -trim -transparent \"#FFFFFF\" "; " -trim -transparent \"#FFFFFF\" ";
char dvipngargs[1024] = /* args/switches for dvipng */ char dvipngargs[1024] = /* args/switches for dvipng */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment