]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2Ftext2pngPlugin
function _PageList_Column* are not private
[SourceForge/phpwiki.git] / pgsrc / Help%2Ftext2pngPlugin
1 Date: Thu,  9 Dec 2010 14:51:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2Ftext2pngPlugin;
5   flags=PAGE_LOCKED;
6   markup=2;
7   charset=UTF-8
8 Content-Transfer-Encoding: binary
9
10 Convert text into a png image using GD without using [WikiPluginCached|Help:WikiPlugin].
11 The images are stored in a private <PHPWIKI_DIR>/images/<LANG> subdirectory instead,
12 which are not timestamp checked at all. Delete the .png file(s) if you change anything.
13
14 This is a really simple and stupid plugin, which might need some work.
15
16 == Usage ==
17
18 {{{
19 <<text2png text="some text">>
20 }}}
21
22 == Arguments ==
23
24 text:
25   some text to display
26 lang:
27   language subdirectory
28 _force:
29   set to 1 to recreate the image
30 fontsize:
31   18. with GD1 it's the pixelsize, with GD2 the pointsize
32 with_shadow:
33   1
34 fontcolor:
35   #000000
36 shadowcolor:
37   #AFAFAF
38 backcolor:
39   #ffffff
40
41 === Configurable Options ===
42
43 See the sourcecode. You'd probably need to adjust $ttfont and text2png_debug.
44
45 == Example ==
46
47 {{{
48 <<text2png text='Hello WikiWorld!'>>
49 }}}
50 would produce:
51 <<text2png text='Hello WikiWorld!'>>
52
53 == See Also ==
54 * [[Help:TeX2PngPlugin]]
55 * [[Help:TexToPngPlugin]]
56
57 <noinclude>
58 ----
59 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
60 </noinclude>