projects
/
redact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also set TextDescription::font if a matching FontDirectoryEntry was found.
[redact.git]
/
lib
/
redact
/
part.rb
diff --git
a/lib/redact/part.rb
b/lib/redact/part.rb
index 0150a354cc185da8851d24e5ebfddb293498b691..b282d04b04faf315109bf1809d8576007664547c 100644
(file)
--- a/
lib/redact/part.rb
+++ b/
lib/redact/part.rb
@@
-1,5
+1,5
@@
#--
#--
-# $Id: part.rb 4
5 2005-06-08 18:02:12
Z tilman $
+# $Id: part.rb 4
6 2005-06-08 18:03:34
Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
@@
-532,6
+532,8
@@
module Redact
if found.nil?
EDJE.font_dir << FontDirectoryEntry.new(f2)
@font = EDJE.font_dir.last.filename
if found.nil?
EDJE.font_dir << FontDirectoryEntry.new(f2)
@font = EDJE.font_dir.last.filename
+ else
+ @font = found.filename
end
else
@font = f
end
else
@font = f