[google-appengine] Re: PHP Imagick Font not Loading

2015-11-11 Thread Nick (Cloud Platform Support)
I suggest at this point that you open a public issue tracker issue, including a .zip of your app (possibly simplified) which is sufficient to reproduce the issue and observe it. This forum isn't meant for specific-issue, one-on-one technic

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-11 Thread Contact PlutonMedia
Hi, Yes my app.yaml is as follow : application: image-generator-1124 version: 1 runtime: php55 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: /009\.jpg static_files: 009.jpg upload: 009\.jpg application_readable: tr

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-10 Thread Nick (Cloud Platform Support)
Ahh, I can't believe I had missed that. This is highly likely to be the solution I think. On Tuesday, November 10, 2015 at 2:27:12 PM UTC-5, Mars Lan wrote: > > Have you tried adding "application_readable" to arial.ttf? > https://cloud.google.com/appengine/docs/php/config/appconfig#application_r

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-10 Thread Mars Lan
Have you tried adding "application_readable" to arial.ttf? https://cloud.google.com/appengine/docs/php/config/appconfig#application_readable On Monday, November 9, 2015 at 4:09:03 AM UTC-8, Contact PlutonMedia wrote: > > Hi, > > Is there a trick to be able to load a custom font and use composite

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-10 Thread Nick (Cloud Platform Support)
So, the 500 error is due to the error you reported above, which explains that it can't find the .ttf file. If the function exists, surely it's meant to be used, and surely many people have used it successfully. The issue isn't that nobody has written text on an image using Imagick, it's that in

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-10 Thread Contact PlutonMedia
Hi Nick and thank you for your help, I changed some things (It's working well on localhost). So using Imagick to load an image works, but when trying to write text on it I get the 500 Internal server error. Do you know if someone succeeded in writing text on an image using Imagick ? Best regar

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-09 Thread Nick (Cloud Platform Support)
(that would be scandir() ) On Monday, November 9, 2015 at 7:09:03 AM UTC-5, Contact PlutonMedia wrote: > > Hi, > > Is there a trick to be able to load a custom font and use compositeImage? > > Here is my code : > > app.yaml > > application: the_name >

[google-appengine] Re: PHP Imagick Font not Loading

2015-11-09 Thread Nick (Cloud Platform Support)
It seems as though the font can't be found at the path specified. Could you use PHP dir() functionality to explore the app_path/1.388444744529109221 directory and see whether arial.ttf is within a subdirectory? On Monday, November 9, 2015 at 7:09:03 AM UTC-5, Contact PlutonMedia wrote: > > Hi, >