summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index ee4976b..692351a 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -84,7 +84,7 @@ void FormulaList::generateBitmaps(const char *path)
for (fli.toFirst();(formula=fli.current());++fli)
{
QCString resultName;
- resultName.sprintf("form_%d.gif",formula->getId());
+ resultName.sprintf("form_%d.png",formula->getId());
// only formulas for which no image exists are generated
QFileInfo fi(resultName);
if (!fi.exists())
@@ -119,7 +119,7 @@ void FormulaList::generateBitmaps(const char *path)
for (;(pagePtr=pli.current());++pli,++pageIndex)
{
int pageNum=*pagePtr;
- msg("Generating image form_%d.gif for formula\n",pageNum);
+ msg("Generating image form_%d.png for formula\n",pageNum);
char dviArgs[4096];
QCString formBase;
formBase.sprintf("_form%d",pageNum);
@@ -266,9 +266,9 @@ void FormulaList::generateBitmaps(const char *path)
dstImage.setPixel(x,y,QMIN(15,(c*15)/(16*10)));
}
}
- // save the result as a png
+ // save the result as a bitmap
QCString resultName;
- resultName.sprintf("form_%d.gif",pageNum);
+ resultName.sprintf("form_%d.png",pageNum);
// the option parameter 1 is used here as a temporary hack
// to select the right color palette!
dstImage.save(resultName,1);
@@ -289,8 +289,8 @@ void FormulaList::generateBitmaps(const char *path)
// remove the latex file itself
if (!formulaError) thisDir.remove("_formulas.tex");
// write/update the formula repository so we know what text the
- // generated pngs represent (we use this next time to avoid regeneration
- // of the pngs, and to avoid forcing the user to delete all pngs in order
+ // generated images represent (we use this next time to avoid regeneration
+ // of the images, and to avoid forcing the user to delete all images in order
// to let a browser refresh the images).
f.setName("formula.repository");
if (f.open(IO_WriteOnly))