projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3298e
)
document can_glyph_names()
author
Tony Cook
<tony@develop-help.com>
Sat, 23 Feb 2013 03:30:21 +0000
(14:30 +1100)
committer
Tony Cook
<tony@develop-help.com>
Sat, 23 Feb 2013 03:30:21 +0000
(14:30 +1100)
lib/Imager/Font.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Imager/Font.pm
b/lib/Imager/Font.pm
index 5f28e97e5afab52fab2515405c444a83dc422dab..9d96938592fe0e094be14e70ae5e8a6c3995f314 100644
(file)
--- a/
lib/Imager/Font.pm
+++ b/
lib/Imager/Font.pm
@@
-862,6
+862,14
@@
is true and the supplied string does not contain valid UTF-8, returns
an empty string and set an error message readable from C<<
Imager->errstr >>,
+=item can_glyph_names()
+
+As a class method, returns true if the underlying library supports
+returning glyph names.
+
+As an object method, returns true if the supplied font supports
+returning glyph names.
+
=item draw
This is used by Imager's string() method to implement drawing text.