Connecting Tech Pros Worldwide Forums | Help | Site Map

True Type fonts(ttf) on FreeBSD

Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
#1: Jun 4 '09
Hi all,

I wanted to install TT fonts that works with PHP. I come across with X11. But, I don't wanted to use X11. Instead, wanted to have some easy way to do so...I found one port called Freetype2 under port print ( As I wanted to have print fonts and not screen). I have installed the port freetype2 . Now what else I need to do to make it work ... any idea ?????


-Ajd335

Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#2: Jun 5 '09

re: True Type fonts(ttf) on FreeBSD


I am sorry, but I have no idea, what you are asking. It's something about fonts, ok.

X11 will do part of the work displaying them, if you want it to. Seemingly you don't. But that shouldn't change the type of font you need.

I'm not quite sure, what the problem about PHP should be - unless you don't mean the scripting language. If the font is installed, it should be possible to use it locally, I would guess. I don't really know PHP though, so there might be some hidden problems I just don't see.

If you do mean the PHP I think, a simple <font face="Font Name">...</font> should probably do the trick, if your program creates HTML code (as I guess it does).

Then there's something about printing - that shouldn't be a problem, as long as the program you use for printing can use the font.

You say, you installed freetype2. So, basically it should work.

If I completely misinterpreted your question, please correct me. In that case, please try explaining again, what exactly you are trying to do.

Greetings,
Nepomuk
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,571
#3: Jun 8 '09

re: True Type fonts(ttf) on FreeBSD


FreeType2 Homepage .
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
#4: Jun 8 '09

re: True Type fonts(ttf) on FreeBSD


Thanks for your replies for giving me direction.
I will look upon it . If need further help, will post it here..!

Thanks a lot...
Reply