php-windows Digest 3 Jan 2004 16:47:02 -0000 Issue 2065
Topics (messages 22455 through 22461):
Re: GD2 function issue
22455 by: DvDmanDT
22457 by: choinet
22459 by: Svensson, B.A.T. (HKG)
22460 by: Svensson, B.A.T. (HKG)
22461 by: choinet
Re: imagecopyresampled question
22456 by: DvDmanDT
Re: chmod
22458 by: Svensson, B.A.T. (HKG)
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Can you please tell me where you proved him wrong..? By looking at the
output of your example I can see that it's impossible to load fonts with
spaces in the paths... The only thing your example proves is that it's
impossible to load fonts which have spaces in the filenames...I can
understand why the devs are pissed, although, I think they overreact some...
--
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
##########################
Please, if you are using windows, you may be infected by Swen. Please go
here to find out more:
http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen
http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED]
##########################
"Choinet" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> Has anyone ever encountered this same problem? I submitted a bug report as
a continuation of another rather misguided report (linked to in this
report), and things became rather heated, as the stubborn developer refused
to listen to me, so I want to see if any of you could perhaps test it out
and help get this issue fixed once and for all.
> http://bugs.php.net/bug.php?id=26764
> Basically, the bug is that spaces cannot be used in the font pathnames
because they actually denote multiple fonts. sniper at php net emphasizes
that such things cannot be done, but I just proved him wrong by doing it in
the test code. Furthermore, I suspect that he probably only checked the
source code and did not actually test it out as I instructed him to, hence
the "there is no bug here" rhetoric.
>
>
> ---------------------------------
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
--- End Message ---
--- Begin Message ---
Jani said "...you can NOT pass multiple font files to
these functions." The third example shows two font
pathnames being specified successfully. To quote
Rasmus, "Since libgd supports multiple alternate font
paths separated by spaces, it is not possible to use
individual font paths with spaces in them." Lerdorf
confirmed the problem (after lecturing me on not
writing lengthy bug reports), and told me to either
see Boutell about a fix or come up with a patch on my
own time.
--- DvDmanDT <[EMAIL PROTECTED]> wrote:
> Can you please tell me where you proved him wrong..?
> By looking at the
> output of your example I can see that it's
> impossible to load fonts with
> spaces in the paths... The only thing your example
> proves is that it's
> impossible to load fonts which have spaces in the
> filenames...I can
> understand why the devs are pissed, although, I
> think they overreact some...
>
> --
> // DvDmanDT
> MSN: dvdmandt€hotmail.com
> Mail: dvdmandt€telia.com
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
--- End Message ---
--- Begin Message ---
If spaces already has a defined semantic (e.g. multiple fonts),
then you can't claim a bug by redefining the semantics of that
space character. We need some order, don't we. :)
-----Original Message-----
From: choinet
To: [EMAIL PROTECTED]
Sent: 2004-01-03 00:47
Subject: [PHP-WIN] GD2 function issue
Basically, the bug is that spaces cannot be used in the font pathnames
because they actually denote multiple fonts. sniper at php net
--- End Message ---
--- Begin Message ---
First you claim "the bug is that spaces cannot be used in the font
pathname", now you seams to claim something else. I am a bit confused.
What's your point?
-----Original Message-----
From: choinet
To: [EMAIL PROTECTED]
Sent: 2004-01-03 04:37
Subject: Re: [PHP-WIN] Re: GD2 function issue
Jani said "...you can NOT pass multiple font files to
these functions." The third example shows two font
pathnames being specified successfully. To quote
Rasmus, "Since libgd supports multiple alternate font
paths separated by spaces, it is not possible to use
individual font paths with spaces in them." Lerdorf
confirmed the problem (after lecturing me on not
writing lengthy bug reports), and told me to either
see Boutell about a fix or come up with a patch on my
own time.
--- DvDmanDT <[EMAIL PROTECTED]> wrote:
> Can you please tell me where you proved him wrong..?
> By looking at the
> output of your example I can see that it's
> impossible to load fonts with
> spaces in the paths... The only thing your example
> proves is that it's
> impossible to load fonts which have spaces in the
> filenames...I can
> understand why the devs are pissed, although, I
> think they overreact some...
>
> --
> // DvDmanDT
> MSN: dvdmandt$hotmail.com
> Mail: dvdmandt$telia.com
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
When you reply to all, please only use the mailing
list address, as I received four emails from your two
replies. Anyway, I am still claiming the original
problem. I feel that changing the listseparator
character from space to, say, semicolon (which has no
place in pathnames), or to leave the space and simply
modify the logic in the source code would solve the
problem. We'll see what Boutell advises :D
--- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
wrote:
>If spaces already has a defined semantic (e.g.
multiple fonts),
>then you can't claim a bug by redefining the
>semantics of that
>space character. We need some order, don't we. :)
--- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
wrote:
> First you claim "the bug is that spaces cannot be
> used in the font
> pathname", now you seams to claim something else. I
> am a bit confused.
>
> What's your point?
>
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
--- End Message ---
--- Begin Message ---
isn't it just to do a $new=imagecreatetruecolor(50,50) , and use
imagecopyresampled($new,$orginal,0,0,$cordinate_from_flash_app_x,$same_but_y
,50,50,$flash_end_x,$flash_end_y);
imagecopyresampled($new,$orginal,0,0,100,120,50,50,300,320);
--
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
##########################
Please, if you are using windows, you may be infected by Swen. Please go
here to find out more:
http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen
http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED]
##########################
"Bobo Wieland" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi all and merry christmas (and a happy new year)!
>
> I use fixed values in this example, but of course it is variables in my
> script...
>
> Let's say I have an image uploaded to the server: 650x400px...
> Now, I've selected a square out of this image using a flash app that
returns
> the coordinates i've selected. The coordinates are:
> start_x: 100px;
> start_y: 120px;
> end_x: 300px; (or width:200px;)
> end_y: 350px; (or height:200px;)
>
> No I need to use php to take this square out of the uploaded image and
make
> it a 50x50px thumbnail. How should it be done?
>
>
> thanks for your help!
>
> .bobo
--- End Message ---
--- Begin Message ---
And that was?
-----Original Message-----
From: Bobo Wieland
To: [EMAIL PROTECTED]
Sent: 2004-01-02 20:45
Subject: Re: [PHP-WIN] chmod
I've contacted my ISP and it accually was an error from their side.
thanks
anyway...
.bobo
--- End Message ---