From c5ef1b6370d3229f52b292fa72c5b4700a77e32f Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Wed, 2 Aug 2023 03:24:42 -0700 Subject: fixed dpi scaling --- src/phplatex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/phplatex.php') diff --git a/src/phplatex.php b/src/phplatex.php index 4d2c60b..2b9f490 100644 --- a/src/phplatex.php +++ b/src/phplatex.php @@ -82,7 +82,7 @@ function texify($string,$dpi='90',$fore="",$back="",$extraprelude="",$trans=FALS # check if image for that TeX in the cache, return img HTML if it exists if (file_exists($heredir.'/lateximages/'.$hashfn.'.'.$imgfmt)) - return ''.$stralt.''; + return ''.$stralt.''; # otherwise try to make and store: @@ -134,6 +134,6 @@ function texify($string,$dpi='90',$fore="",$back="",$extraprelude="",$trans=FALS copy($tfn.'.'.$imgfmt, $heredir.'/lateximages/'.$hashfn.'.'.$imgfmt); # Clean up temporary files, and return link to just-created image - return phplatex_cleantmp($tfn,$heredir).'LaTeX formula: '.$stralt.''; + return phplatex_cleantmp($tfn,$heredir).'LaTeX formula: '.$stralt.''; } ?> -- cgit v1.2.3-70-g09d2