Connecting Tech Pros Worldwide Help | Site Map

True Type fonts(ttf) on FreeBSD

  #1  
Old June 4th, 2009, 11:21 PM
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123
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
  #2  
Old June 5th, 2009, 02:48 PM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,468

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
  #3  
Old June 8th, 2009, 03:29 AM
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,520

re: True Type fonts(ttf) on FreeBSD


FreeType2 Homepage .
  #4  
Old June 8th, 2009, 10:21 PM
Member
 
Join Date: Apr 2008
Location: United states
Posts: 123

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