By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,825 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,825 IT Pros & Developers. It's quick & easy.

What fonts do I have?

P: n/a
I have just recompiled, upgraded to PHP 4.3.4. As an exercise (and
curiosity) I've decided to test out PDF functions and got the test in the
PHP online manual working. I had one problem whereby the example refered to
Times New Roman - I didn't have this, but I did have Times-Roman which
worked.

My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person out
there what fonts I have on my SuSE Linux 8.1 box:

gd_info() says:
FreeType Linkage with freetype
FreeType Support 1
GD Version bundled 2.0.15 compatible
GIF Read Support 1
JPG Support 1
PNG Support 1
WBMP Support 1
XBM Support 1

Noteably, T1Lib has no value thus I gather, not installed... Do I need this?
If so, what rpm package (or where can I get a tar ball) for this?

My phpinfo():
Configure Command:
'./configure' '--with-mysql'
'--with-apache=/data/www/software/apachePHP/apache' '--with-mcrypt'
'--with-jpeg-dir' '--enable-exif' '--with-zlib-dir' '--with-gd' '--with-ttf'
'--with-pdflib' '--enable-gd-native-ttf' '--with-freetype-dir'
'--with-mime-magic' '--disable-session' '--disable-cgi'

exif
EXIF Support enabled - version 1.4
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

GD
GD Support enabled
GD Version bundled (2.0.15 compatable)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

PDF
PDF Support enabled
PDFlib GmbH Version 3.02
That is all I think would be anyway related to fonts/graphics...

Can anyone advise me? via the newsgroup please?

Thanks in advance
randelld
Jul 17 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
On Tue, 04 Nov 2003 06:29:09 +0000, Randell D. wrote:
My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person
out there what fonts I have on my SuSE Linux 8.1 box:

How the hell are we supposed to do that with no access!?!? (unless you
want to post your root login details here ;) ).

Why can't _YOU_ search your own box for what fonts are installed and not?
I could give you a list of over 600 fonts for my box... but I bet you
have nowhere near that as most of mine were from elsewhere.

You see.. you're asking a damn lazy question! and an off-topic one too
(what fonts you have and where they are is _nothing_ to do with PHP) and
one a person with no access can't answer. WTF made you think we would!?

That's like asking you what wallpapers I have available.. you have as much
clue about that as anyone else if going to have about your fonts.

Learn how to use your system properly, then you wouldn't be asking such
daft questions.

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.

Jul 17 '05 #2

P: n/a
Ian.H wrote:
Why can't _YOU_ search your own box for what fonts are installed and not?
I could give you a list of over 600 fonts for my box... but I bet you
have nowhere near that as most of mine were from elsewhere.
Consider that the OP would like a method of determining at runtime
which fonts are available. The script might not be running at his
own box.
You see.. you're asking a damn lazy question! and an off-topic one too
(what fonts you have and where they are is _nothing_ to do with PHP) and
one a person with no access can't answer. WTF made you think we would!?
The php-script has to generate PDF's. Therefore it has to find out
which fonts are available to it. There just might be a function for
that, don't you think?
That's like asking you what wallpapers I have available.. you have as much
clue about that as anyone else if going to have about your fonts.
No, the script should be able to determine *at runtime* which
fonts are available. Oh, and mind that *available* is not equal to
*installed*.
Learn how to use your system properly, then you wouldn't be asking such
daft questions.


Learn how to read, and think further than you own little machine, then
you wouldn't be such a miserable dork.

James

Jul 17 '05 #3

P: n/a
"Randell D." <yo**************************@yahoo.com> wrote in message news:<VGHpb.286889$pl3.177605@pd7tw3no>...
I have just recompiled, upgraded to PHP 4.3.4. As an exercise (and
curiosity) I've decided to test out PDF functions and got the test in the
PHP online manual working. I had one problem whereby the example refered to
Times New Roman - I didn't have this, but I did have Times-Roman which
worked.

My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person out
there what fonts I have on my SuSE Linux 8.1 box:


You're on the wrong newsgroup. Go to a Linux newsgroup and ask what
fonts Suse comes installed with.

Or, if the question is what fonts come built-in with PHP's PDF
extension, read the documentation here:

http://us2.php.net/manual/en/ref.pdf.php
Jul 17 '05 #4

P: n/a

"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:pa****************************@hybris.digiser v.net...
On Tue, 04 Nov 2003 06:29:09 +0000, Randell D. wrote:
My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person
out there what fonts I have on my SuSE Linux 8.1 box:

How the hell are we supposed to do that with no access!?!? (unless you
want to post your root login details here ;) ).

Why can't _YOU_ search your own box for what fonts are installed and not?
I could give you a list of over 600 fonts for my box... but I bet you
have nowhere near that as most of mine were from elsewhere.

You see.. you're asking a damn lazy question! and an off-topic one too
(what fonts you have and where they are is _nothing_ to do with PHP) and
one a person with no access can't answer. WTF made you think we would!?

That's like asking you what wallpapers I have available.. you have as much
clue about that as anyone else if going to have about your fonts.

Learn how to use your system properly, then you wouldn't be asking such
daft questions.

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.


Someone your age shouldn't stress out so quickly - take a holiday, find a
friend, get a dog, or do all of the above...

Newsgroups are akin to schools - We share knowledge - Its the first time
I've encountered such crap in this newsgroup from anyone - You have not
shared anything productive. Knowledge here is freely shared by those who
are helpful and have the knowledge - If you don't want to be helpful, then
take your stress and your knowledge somewhere else.
Jul 17 '05 #5

P: n/a

"James Henson" <jb*@example.com> wrote in message
news:3f***********************@news.xs4all.nl...
Ian.H wrote:
Why can't _YOU_ search your own box for what fonts are installed and not? I could give you a list of over 600 fonts for my box... but I bet you
have nowhere near that as most of mine were from elsewhere.


Consider that the OP would like a method of determining at runtime
which fonts are available. The script might not be running at his
own box.
You see.. you're asking a damn lazy question! and an off-topic one too
(what fonts you have and where they are is _nothing_ to do with PHP) and
one a person with no access can't answer. WTF made you think we would!?


The php-script has to generate PDF's. Therefore it has to find out
which fonts are available to it. There just might be a function for
that, don't you think?
That's like asking you what wallpapers I have available.. you have as much clue about that as anyone else if going to have about your fonts.


No, the script should be able to determine *at runtime* which
fonts are available. Oh, and mind that *available* is not equal to
*installed*.
Learn how to use your system properly, then you wouldn't be asking such
daft questions.


Learn how to read, and think further than you own little machine, then
you wouldn't be such a miserable dork.

James


Thanks for that... I didn't mean to ask a dumb question and am open to
constructive criticism - I had believed there would be a function that would
tell me what functions I have available - or at very least, a module that I
could compile in that would give me this sorts of information - something
akin to gd_info() for the GD Library.


Jul 17 '05 #6

P: n/a

"lawrence" <lk******@geocities.com> wrote in message
news:da**************************@posting.google.c om...
"Randell D." <yo**************************@yahoo.com> wrote in message

news:<VGHpb.286889$pl3.177605@pd7tw3no>...
I have just recompiled, upgraded to PHP 4.3.4. As an exercise (and
curiosity) I've decided to test out PDF functions and got the test in the PHP online manual working. I had one problem whereby the example refered to Times New Roman - I didn't have this, but I did have Times-Roman which
worked.

My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person out there what fonts I have on my SuSE Linux 8.1 box:


You're on the wrong newsgroup. Go to a Linux newsgroup and ask what
fonts Suse comes installed with.

Or, if the question is what fonts come built-in with PHP's PDF
extension, read the documentation here:

http://us2.php.net/manual/en/ref.pdf.php


I did read the PDF page you referred me too - but correct me if I'm wrong, I
didn't see anything that could tell me what fonts I do have available to my
PDF fonts. I thought there might me something like gd_info() that would
give me this information.

Have you any other ideas?
Jul 17 '05 #7

P: n/a
Randell D. wrote:
I had believed there would be a function that
would tell me what functions I have available - or at very least, a module
that I could compile in that would give me this sorts of information -
something akin to gd_info() for the GD Library.


You can check an individual font by calling PDF_findfont from
Thomas Merz's PDFlib. The "lite" version is free for open source
projects.

http://www.zend.com/zend/spotlight/creatingpdfmay1.php
http://www.pdflib.com

Or just restrict yourself to the 35 "standard" PostScript
fonts. Those are generally available in any PS-capable
printer.

http://www.agfamonotype.com/hardware/PS35.asp

Hope this helps
James

Jul 17 '05 #8

P: n/a
"Randell D." <yo**************************@yahoo.com> wrote in message news:<gtTpb.292569$9l5.1937@pd7tw2no>...
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:pa****************************@hybris.digiser v.net...
On Tue, 04 Nov 2003 06:29:09 +0000, Randell D. wrote:
My question - How do I know what fonts I *do* have available? I've run
phpinfo() and gd_info() which I hope is enough to tell some wise person
out there what fonts I have on my SuSE Linux 8.1 box:

How the hell are we supposed to do that with no access!?!? (unless you
want to post your root login details here ;) ).

Why can't _YOU_ search your own box for what fonts are installed and not?
I could give you a list of over 600 fonts for my box... but I bet you
have nowhere near that as most of mine were from elsewhere.


I agree that this is way, way out of line. It is reasonable to ask
what features the PDF module of PHP has, including if it comes with
built-in fonts. That's on topic, and appropriate to this newsgroup.
Jul 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.