Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-03-05 Thread David Sveningsson
numerical html entities it works, but that's not a reasonable solution to me. -- //*David Sveningsson [eXt]* Freelance coder | Game Development Student http://sidvind.com Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, ev

Re: [PHP] imagettftext and utf-8 (swedish characters)

2008-02-29 Thread David Sveningsson
Jochem Maas skrev: Jochem Maas schreef: have you tried a test script (file encoded as UTF8) where you hardcode the title string and see if that also outputs 'squares' ... at least that way you can be sure whether the problem is in some kind of encoding mush that occurs during the title's round

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-02-29 Thread David Sveningsson
n all systems that have said TTF file to support the same chars - I assume that although it may be compiled diffferently for different platforms the source font definition is going to be the same) All fonts I have tried works in other applications with utf-8. (I run lamp on my own workstation

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-02-29 Thread David Sveningsson
Frank Arensmeier skrev: 29 feb 2008 kl. 03.41 skrev David Sveningsson: Nathan Rixham skrev: before going any further, your HTML page is in UTF-8 yes? with the appropriate content-type line. Yes, apache uses only utf-8 as charset and the html content-type meta tag is set to utf-8 too. Also

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-02-28 Thread David Sveningsson
ys the encoding is utf-8. -- //*David Sveningsson [eXt]* Freelance coder | Game Development Student http://sidvind.com Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in sol

Re: [PHP] Re: imagettftext and utf-8 (swedish characters)

2008-02-28 Thread David Sveningsson
rendered correctly, as before). -- //*David Sveningsson [eXt]* Freelance coder | Game Development Student http://sidvind.com Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better

[PHP] imagettftext and utf-8 (swedish characters)

2008-02-28 Thread David Sveningsson
$title_size = 32; imagefilledrectangle($im, 0, 0, 800, 600, $black); imagettftext( $im, $title_size, 0, 50, 50, $white, $font, $title ); header("Content-Type: image/png"); imagepng($im); exit(); } -- //*David Sveningsson [eXt]* Freelance coder | Ga

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread David Sveningsson
Per Jessen skrev: David Sveningsson wrote: Hi, I've written an application in c which I would like to start/stop as a daemon in gnu/linux. The application has the argument "--daemon" which forks the process and exits the parent. Then it setups a SIGQUIT signal handler to prope

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread David Sveningsson
on't think it would be too hard. Even if the application runs on Windows you might be able to use D-BUS for communication. Currently neither the application or the frontend is planned to support windows as it is already full of very unix specific code. -- //*David Sveningsson [eXt]*

[PHP] Start/stop daemon using php

2008-02-27 Thread David Sveningsson
rt using php and exec. Not even manually using kill in the shell. It works correctly if I start manually thought. So, is this possible to do? Doesn't exec allow applications with signal handlers? Is there some other way to terminate the application? -- //*David Sveningsson [eXt]*