If you're on 5.2 or 5.3, it may have to do with bug #51263.
http://bugs.php.net/51263
Upgrade your php to the latest as fixes the problem.
-bborie
On 08/12/2010 10:08 AM, tedd wrote:
Well, whatever the problem is it is definitely related only to my
system. I tried your code and had the same
Well, whatever the problem is it is definitely related only to my
system. I tried your code and had the same results
(https://adexfulfillment.com/adex/tests/test.php). I tried
different fonts as well. The fonts I'm using were exported from
FontBook on my Mac. I wonder if that might have s
On Aug 12, 2010, at 12:17 PM, Ashley Sheridan wrote:
> On Thu, 2010-08-12 at 12:14 -0400, Floyd Resler wrote:
>
>> On Aug 12, 2010, at 11:50 AM, tedd wrote:
>>
On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
> I'm trying to draw text at a 90 degree angle, reading from bott
On Thu, 2010-08-12 at 12:14 -0400, Floyd Resler wrote:
> On Aug 12, 2010, at 11:50 AM, tedd wrote:
>
> >> On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
> >>
> >>> I'm trying to draw text at a 90 degree angle, reading from bottom to top.
> >>> For some reason, all of the letters are al
On Aug 12, 2010, at 11:50 AM, tedd wrote:
>> On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
>>
>>> I'm trying to draw text at a 90 degree angle, reading from bottom to top.
>>> For some reason, all of the letters are aligning to the top (i.e. the left
>>> side) of the text. It looks
On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
I'm trying to draw text at a 90 degree angle, reading from bottom
to top. For some reason, all of the letters are aligning to the
top (i.e. the left side) of the text. It looks really odd! Has
anyone else experienced this before?
T
On Aug 12, 2010, at 10:42 AM, Ashley Sheridan wrote:
> On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
>
>> I'm trying to draw text at a 90 degree angle, reading from bottom to top.
>> For some reason, all of the letters are aligning to the top (i.e. the left
>> side) of the text. It
On Thu, 2010-08-12 at 10:40 -0400, Floyd Resler wrote:
> I'm trying to draw text at a 90 degree angle, reading from bottom to top.
> For some reason, all of the letters are aligning to the top (i.e. the left
> side) of the text. It looks really odd! Has anyone else experienced this
> before?
I'm trying to draw text at a 90 degree angle, reading from bottom to top. For
some reason, all of the letters are aligning to the top (i.e. the left side) of
the text. It looks really odd! Has anyone else experienced this before?
Thanks!
Floyd
--
PHP General Mailing List (http://www.php.net/
On Thu, 2009-12-03 at 03:12 +0700, shiplu wrote:
> Hello,
>
> I am creating an app where I have to show east asian text in image.
> Those are utf8. Problem is when I try to display "কি হচ্ছে" in image,
> it shows "ক ি হ চ ্ ছ ে" without the circles.
> How do I show it correctly.
>
> Note: I am
Hello,
I am creating an app where I have to show east asian text in image.
Those are utf8. Problem is when I try to display "কি হচ্ছে" in image,
it shows "ক ি হ চ ্ ছ ে" without the circles.
How do I show it correctly.
Note: I am generating image, not html file.
--
A K M Mokaddim
My talks, t
At 5:27 PM -0400 6/24/08, Stephen Pynenburg wrote:
Hi all,
I'm using imagettftext, and my script works perfectly, except that on these
TTF fonts that I'm using, in any letter with a hole in the middle (letters
like a, R, O) the hole is coloured black, not transparent. Is this a PHP
thing, or do I
27;]);
imagefill($i, 0, 0, $bg);
imagepng($i);
Thanks,
Stephen
On Tue, Jun 24, 2008 at 5:32 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Stephen Pynenburg [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 24, 2008 4:27 PM
> > To:
> -Original Message-
> From: Stephen Pynenburg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 4:27 PM
> To: php-general@lists.php.net
> Subject: [PHP] ImageTTFText leaves Black in letters
>
> Hi all,
> I'm using imagettftext, and my script works perf
Hi all,
I'm using imagettftext, and my script works perfectly, except that on these
TTF fonts that I'm using, in any letter with a hole in the middle (letters
like a, R, O) the hole is coloured black, not transparent. Is this a PHP
thing, or do I need to edit my fonts somehow?
Thanks,
Stephen
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
Jochem Maas schreef:
David Sveningsson schreef:
Hi, I've ran into some problems when outputing text to an image using
imagettftext. I cannot get swedish characters to work, I just get a
square. I've tried different fonts which I know has those characters
(bitstream vera, arial, times new roman
David Sveningsson schreef:
Hi, I've ran into some problems when outputing text to an image using
imagettftext. I cannot get swedish characters to work, I just get a
square. I've tried different fonts which I know has those characters
(bitstream vera, arial, times new roman, etc). What am I doin
On Thu, Feb 28, 2008 at 8:45 PM, David Sveningsson <[EMAIL PROTECTED]> wrote:
> Hi, I've ran into some problems when outputing text to an image using
> imagettftext. I cannot get swedish characters to work, I just get a
> square. I've tried different fonts which I know has those characters
> (bi
Hi, I've ran into some problems when outputing text to an image using
imagettftext. I cannot get swedish characters to work, I just get a
square. I've tried different fonts which I know has those characters
(bitstream vera, arial, times new roman, etc). What am I doing wrong?
I know I must pas
hey,
Check the properties at
http://www.weberdev.com/Manuals/PHP/function.imagettftext.html
You can try second imagettftext with new X and Y co-ordinates.
Thanks
Richard
On 1/25/06, Louie Miranda <[EMAIL PROTECTED]> wrote:
>
> imagettftext($im, $size, 0, 2, 13, $text_color,
> "includes/resource
Hello,
I want to display TTF text in a png image. I use the following type of
code:
$font="luxisr";
$font_size=16;
$img=imagecreate($width, $height);
$bg=imagecolorallocate($img, 255, 255, 255);
$font_color=imageallocatecolor($img, 0, 0, 0);
imagettftext($img, $font_size, 0, $x, $y, $font_color,
On Tuesday 25 May 2004 03:52, Mike Rotondo wrote:
> I've written a script that displays a graph of some data from a text file.
> Beneath each bar in the graph is a text label. I read the php.net
> documentation and it seemed that imagettftext() was the easiest function to
> get text in an image wi
I've written a script that displays a graph of some data from a text file.
Beneath each bar in the graph is a text label. I read the php.net
documentation and it seemed that imagettftext() was the easiest function to
get text in an image with, so I used that. Here is the text-display code
(syntax
http://www.codephobia.com/tutorials/view.php3?idnum=6
-Original Message-
From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:04 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] ImageTTFText for mac? win? linux?
Im confused.. I know I have TrueType
Im confused.. I know I have TrueType support on php. Now I wonder where will
I put my fonts into my server? Like verdana, etc just a sample. Does this
means even macintosh truetype fonts I can also load in?
--
Thank you,
Louie Miranda ([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.p
Hello all,
I'm using the following code to create images on the fly on a web site for page
headers. This works great for the most part, but a couple times now the text has
started resizing for no apparent reason. The first time it was just slightly wider
than
normal. Most recently the text
Hello Everyone:
I have a quick question about libgd, ttf fonts, imagettftext and
anti-aliasing -- I have two FreeBSD boxes, both running PHP 4.3. One
anti-aliases the text very nicely, and the other does not. I cannot
figure out why the images look so different on the two different boxes
-- do
Rasmus,
Thanks for the suggestion. We tried to compile php 4.2.2 with freetype 2.1.2
and gd 2.0.1, but during the configuration, we kept getting the following
error messages:
configure: error: Unable to find required gettext library
And the following lines in config.log:
configure:26000: gcc
That's done in Freetype. First thing I would try would be upgrading to
GD2/Freetype2 and see if it is handled better with that combination.
-Rasmus
On Tue, 17 Sep 2002, Ziying Sherwin wrote:
>
> We installed php 4.2.2 with freetype 1.3.1 on our solaris 2.8 machine. We
> are using function ima
We installed php 4.2.2 with freetype 1.3.1 on our solaris 2.8 machine. We
are using function imagettftext to convert UTF8 string to image file for
Internet display. However, it seems that this function does not handle the
combining characters properly. For instance, the sequence of unicode
c
Hello,
I have the problem that I get an error message "Could not find/open font" when I
use the ImageTTFText function and use a relative path to
specify the location of the font file. Absolute paths are working correctly.
Using mod_perl 4.1.0, apache 1.3.23 and gdlib 1.8.4. I found a slight
hint
Hello, I'm playing with imagettftext:
http://sean.caedmon.net/ttf_example.php?text=PHP
This works fine with some fonts, and not fine with others:
http://sean.caedmon.net/ttf_example.php?text=PHP&font=a
The (broken) font in question is available at:
http://sean.caedmon.net/new/fonts/TRIACSEV.T
Hello,
I'm just playing around with the imageTTftext() function but it doesn't
seem to be working. I can output an image, but when I use the text
function, nothing is displayed, not even the image.
This is running on a RHL 7.2 system with the following installed:
php-4.0.6-7
gd-1.8.4-4
freetyp
Tuesday, May 28, 2002 10:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] imagettftext question
In our application, we need to write a UTF8 strings to the image using True
Type fonts. The php function that we are using is imagettftext. However, we
have the two problems regarding
In our application, we need to write a UTF8 strings to the image using True
Type fonts. The php function that we are using is imagettftext. However,
we have the two problems regarding that function:
1. The images that are generated by this function is white fonts on the black
background. B
Never mind. I managed to find a free code 39 barcode font that /is/
Unicode compatible, and it works.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Matthew Walker
Sent: Thursday, April 11, 2002 3:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP
Im having no luck using ImageTTFText(). I have a .ttf barcode font that
works fine on windows if I select it in a word processor, but when I try
and use it with PHP to generate barcode images, it outputs a blank
image. I can select other TTF fonts, and they work fine. Just this one
seems to have
I finally found other people with the same problem I am having as addressed
here:
http://bugs.php.net/bug.php?id=14876
I am wondering when this will be addressed however because in the bug report
it lists no solutions to this problem.
Anyone?
-Brandon
--
PHP General Mailing List (http://
We installed php 4.1.2 with gd 2.0.1 and freetype 2.0.5 library support on our
Solaris 2.8 machine using gcc 2.95.2. However, the php function ImageTTFText()
stopped to work properly with the new installation. No text generated in the
image. When we tried to use cyberbit fonts to generate a UT
On Sun, 25 Mar 2001 08:52, Paulo Vinícius Vitto Ruthes wrote:
> folks,
> i installed php4 by a RPM, it wasn't compiled --enable-gd-imgstrttf ,
> so, when I use a function like
> ImageTTFText(), it returns me the text mirrowed (inverted like a
> mirror) and the angulation doesn't work right...
> bu
folks,
i installed php4 by a RPM, it wasn't compiled --enable-gd-imgstrttf ,
so, when I use a function like
ImageTTFText(), it returns me the text mirrowed (inverted like a mirror)
and the angulation doesn't work right...
but, when I try to compile the tar.gz php installation,
it don't let me com
Hello,
Did someone as experiences of crash when use ImageTTFText ?
I have a Linux Mandrake 7.2 with Php 4.0.4
Thanks
--
Gabriele Fain
Fineware snc - Vendita computer, produzione software e Hardware
EMail: mailto:[EMAIL PROTECTED] http://www.fineware.it
Via Matteotti, 66 - 34071 Cormons (GO).
T
43 matches
Mail list logo