* Simplify EPS creation rules.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
diff --git a/docs/Makefile.am b/docs/Makefile.am
index d999833..0ce59d4 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -21,7 +21,7 @@ PNGS = \
stamp-eps: $(PNGS)
if HAVE_LATEX
- for i in $^; do convert $$i $$(echo $$i | sed 's/png$$/eps/'); done
+ for i in $^; do convert $$i $$i.eps; done
endif
touch $@
@@ -35,7 +35,7 @@ stamp-latex: stamp-doxygen
rm -f latex/ftgl.tex latex/ftgl.pdf
mv latex/refman.tex latex/ftgl.tex
sed 's/setlength{/renewcommand{/' latex/ftgl.tex > latex/refman.tex
- cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf #|| (cat refman.log; exit 1)
+ cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
mv latex/refman.pdf latex/ftgl.pdf
touch stamp-latex
diff --git a/docs/ftgl.dox b/docs/ftgl.dox
index 29810a2..33a012f 100644
--- a/docs/ftgl.dox
+++ b/docs/ftgl.dox
@@ -1,7 +1,7 @@
/** \mainpage FTGL User Guide
\image html logo.png
- \image latex logo.eps "" width=0.3\textwidth
+ \image latex logo.png "" width=0.3\textwidth
\section intro Introduction
diff --git a/docs/tutorial.dox b/docs/tutorial.dox
index 7a3977f..bf7151d 100644
--- a/docs/tutorial.dox
+++ b/docs/tutorial.dox
@@ -23,7 +23,7 @@
- Pixmap fonts use 8-bit (256 levels) rasterised glyphs.
\image html rasterfont.png
- \image latex rasterfont.eps "" width=0.7\textwidth
+ \image latex rasterfont.png "" width=0.7\textwidth
\subsection vector Vector fonts
@@ -36,7 +36,7 @@
meshes renderable separately to apply different effects and materials.
\image html vectorfont.png
- \image latex vectorfont.eps "" width=0.7\textwidth
+ \image latex vectorfont.png "" width=0.7\textwidth
\subsection texture Textured fonts
@@ -50,7 +50,7 @@
more than one frame.
\image html texturefont.png
- \image latex texturefont.eps "" width=0.7\textwidth
+ \image latex texturefont.png "" width=0.7\textwidth
\section creating Create font objects
@@ -99,7 +99,7 @@ font.Render("Hello World!");
\subsection metrics Font metrics
\image html metrics.png
- \image latex metrics.eps "" width=0.5\textwidth
+ \image latex metrics.png "" width=0.5\textwidth
If you ask a font to render at 0.0, 0.0 the bottom left most pixel or polygon
may not be aligned to 0.0, 0.0. With FTFont::Ascender(), FTFont::Descender()