[sword-svn] r132 - in trunk: . app/src/org/crosswire/flashcards

Apache apache at www.crosswire.org
Fri Nov 9 03:38:26 MST 2007


Author: 
Date: 2007-11-09 03:38:25 -0700 (Fri, 09 Nov 2007)
New Revision: 132

Modified:
   trunk/Makefile
   trunk/app/src/org/crosswire/flashcards/ComplexLesson.java
Log:
added target to clean extraLessons
debug output 


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2007-11-09 09:28:58 UTC (rev 131)
+++ trunk/Makefile	2007-11-09 10:38:25 UTC (rev 132)
@@ -18,6 +18,9 @@
 	make -C ../sword-tools/flashtools lessons
 	cp -r ../sword-tools/flashtools/lessons/* lessons
 
+extraLessonsClean:
+	rm -rf lessons/greekFreq lessons/greekFreqKJV lessons/hebrewFreq lessons/hebrewFreqKJV
+
 serverinstall: serverinstalllessons serverinstallapp
 
 serverinstallapp: serverinstallzip

Modified: trunk/app/src/org/crosswire/flashcards/ComplexLesson.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/ComplexLesson.java	2007-11-09 09:28:58 UTC (rev 131)
+++ trunk/app/src/org/crosswire/flashcards/ComplexLesson.java	2007-11-09 10:38:25 UTC (rev 132)
@@ -249,6 +249,7 @@
                    // grab the font name, we could also look in the lesson for the font file
                    // itself, otherwise look for it app-wide (whatever that means)
                     g2d.setFont((font != null) ? font : g2d.getFont().deriveFont(Font.BOLD, (int)(height*.75)));
+//System.out.println("### Using Font: " + g2d.getFont().getName());
 
                     Rectangle2D rect = g2d.getFont().getStringBounds(f.getFront(), g2d.getFontRenderContext());
                     g2d.drawString(f.getFront(), 4, (int)(height*.70));




More information about the sword-cvs mailing list