Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-13 Thread Ross McKay
Ashley Sheridan wrote: >Great idea in theory, if you can guarantee that they'll *only* be using >MS Office to paste from. In my experience, you can only guarantee on the >stupidity of the end users, nothing else. I was mostly being facetious :) The only thing that really works is getting the user

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-10 Thread Ashley Sheridan
On Sat, 2009-05-09 at 11:42 +1000, Ross McKay wrote: > On Tue, 5 May 2009 17:27:57 -0400, tedd.sperling wrote: > > >I have one client who no matter how many times I talk to him about > >gremlins and how he should make sure his entries are plain text, he > >still cuts and paste things directly fr

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-08 Thread Ross McKay
On Tue, 5 May 2009 17:27:57 -0400, tedd.sperling wrote: >I have one client who no matter how many times I talk to him about >gremlins and how he should make sure his entries are plain text, he >still cuts and paste things directly from M$ Word and then wonders >"Where did those come from? They

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-06 Thread Ashley Sheridan
On Tue, 2009-05-05 at 16:22 -0700, Michael A. Peters wrote: > Ashley Sheridan wrote: > > >> > > content coming from MS Office clipboard pastes generally contain > > characters that are encoded wrong, and do not display correctly in web > > pages unless they have very relaxed doctypes. The function

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-05 Thread Michael A. Peters
Ashley Sheridan wrote: content coming from MS Office clipboard pastes generally contain characters that are encoded wrong, and do not display correctly in web pages unless they have very relaxed doctypes. The function I generally use is: function removeMSCrap($crap) { $find = Array(ch

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-05 Thread tedd
At 9:17 PM +0100 5/5/09, Ashley Sheridan wrote: It's mainly for the benefit of other people, who do use MS programs and copy and paste things into your web apps and then wonder why things don't work exactly how they expect Ash www.ashleysheridan.co.uk Ash: Ain't that the truth. I have one

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-05 Thread Ashley Sheridan
On Tue, 2009-05-05 at 09:57 -0400, PJ wrote: > Ashley Sheridan wrote: > > On Mon, 2009-05-04 at 18:42 -0400, PJ wrote: > > > >> Jim Lucas wrote: > >> > >>> PJ wrote: > >>> > Is there a module to be activated or what has to be installed to have > ttf support in php? > M

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-05 Thread PJ
Ashley Sheridan wrote: > On Mon, 2009-05-04 at 18:42 -0400, PJ wrote: > >> Jim Lucas wrote: >> >>> PJ wrote: >>> Is there a module to be activated or what has to be installed to have ttf support in php? My port on FreeBSD does not have an option for ttf support under m

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-04 Thread Ashley Sheridan
On Mon, 2009-05-04 at 18:42 -0400, PJ wrote: > Jim Lucas wrote: > > PJ wrote: > >> Is there a module to be activated or what has to be installed to have > >> ttf support in php? > >> My port on FreeBSD does not have an option for ttf support under make > >> config . > >> I'm trying to learn & under

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-04 Thread PJ
Jim Lucas wrote: > PJ wrote: >> Is there a module to be activated or what has to be installed to have >> ttf support in php? >> My port on FreeBSD does not have an option for ttf support under make >> config . >> I'm trying to learn & understand the following: >> In file1 : >> In file2 (button.php

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-02 Thread Jim Lucas
PJ wrote: Is there a module to be activated or what has to be installed to have ttf support in php? My port on FreeBSD does not have an option for ttf support under make config . I'm trying to learn & understand the following: In file1 : In file2 (button.php)- originally php3 : The above shoul

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-01 Thread Michael A. Peters
PJ wrote: Is there a module to be activated or what has to be installed to have ttf support in php? addendum to my earlier reply - make sure your gd library is built with freetype as well, and make sure it is freetype 2. I'm guessing your gd library already is, but ... -- PHP General Maili

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-01 Thread Michael A. Peters
PJ wrote: Is there a module to be activated or what has to be installed to have ttf support in php? on unix systems, ttf support should be there with freetype - which supports both ttf and postscript type 1 fonts (and probably also supports .otf though I haven't tried) enable freetype and u

[PHP] how to enable ttf support in php 5.2.9

2009-05-01 Thread PJ
Is there a module to be activated or what has to be installed to have ttf support in php? My port on FreeBSD does not have an option for ttf support under make config . I'm trying to learn & understand the following: In file1 : In file2 (button.php)- originally php3 : ONLY the above & nothing els