--
-$Id: ChangeLog 26 2005-04-14 19:44:49Z tilman $
+$Id: ChangeLog 27 2005-04-14 19:47:06Z tilman $
++
2005-04-14 Tilman Sauerbeck (tilman at code-monkey de)
* lib/{redact,part,program}.rb: Replaced most attr_accessor
calls by explicit setter methods to ensure type safety
* lib/part.rb: Code cleanup
+ * lib/part.rb: Fixed the regular expression that checks
+ whether a font name is actually a filename
2005-04-09 Tilman Sauerbeck (tilman at code-monkey de)
* test/crossfade.rb: Updated for recent tween mode fixes
#--
-# $Id: part.rb 26 2005-04-14 19:44:49Z tilman $
+# $Id: part.rb 27 2005-04-14 19:47:06Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
def font=(f)
f = f.to_str.strip
- md = f.match(/.*\.ttf/)
+ md = f.match(/.*\.ttf$/)
unless md.nil?
found = EDJE.font_dir.find { |font| font.filename == f }
if found.nil?