Jaco de Groot <[EMAIL PROTECTED]> wrote:
> Michiel Meeuwissen wrote:
> >I don't really understand the hack, because I am already able to write 
> >special
> >characters (without any change in code), and also %h and %w are working. 
> 
> It's about being able to use %h without %h being escaped and using text 
> like e with acute (especially on Windows) and using character like +, @, (, 
> ) which are special to ImageMagick.
> 
> >Also the @-notation seems to work already, and I don't understand why it is
> >essential to use a autocreated file to use %-chars.
> 
> How are you doing this?

Well, it works for an existing file, of course it does not generate one
already. I tried this:
<img src="<mm:image
template="s(800x100!)+font(Times-New-Roman-Bold-Italic)+fill(red)+pointsize(20)+gravity(SouthWest)+draw(rotate
-5 text 10,10 '@/home/michiel/test.utf8.line')" />" />


Would it not be better to use such an auxiliary file always, when producing
text? Then as a user you don't need to anticipate those rather complicated
problems about occuring \'e's and so on, but there is simply a good chance
that it works then?

Michiel



-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to