473,474 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

True Type fonts(ttf) on FreeBSD

123 New Member
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
Jun 4 '09 #1
3 4534
Nepomuk
3,112 Recognized Expert Specialist
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
Jun 5 '09 #2
drhowarddrfine
7,435 Recognized Expert Expert
FreeType2 Homepage .
Jun 8 '09 #3
ajd335
123 New Member
Thanks for your replies for giving me direction.
I will look upon it . If need further help, will post it here..!

Thanks a lot...
Jun 8 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: SYR | last post by:
I try to acces to the font name of my ttf fonts using a php script with the file name. I've found a script reading idv tags from mp3 files, but it's too specific. Can anyone say me how to read a...
1
by: bof | last post by:
I'm attempting to use ImageTTFText to render text to an image, I can get it to work if I a) specify the full font path b) switch off anti-aliasing c) specify an OpenType font (e.g. arial.ttf) ...
1
by: azathoth | last post by:
I'm writing text on a GIF with a custom TTF font on my dev server (Apache/PHP4 with bundled GD). It works nice. On the production serveur (Mandrake: Apache2/PHP5) error happens : Call to...
1
by: Jamie Davison | last post by:
I'm have GD 2.0.1 - php 4.3.5 compiled --with-gd--enable-gd-native-ttf--enable-gd-jis-conv --with-freetype-dir=/usr/local' '--with-t1lib=/usr/local...
0
by: ljb | last post by:
Using PHP-4.3.11 with GD extension, bundled GD library, and freetype-2.1.9 (with X.org 6.8.1). I can't get the TrueType Font (TTF) bounding box to come out right. Whether using imagettftext() or...
0
by: enerion | last post by:
Dear all! I'm using Stylesheet designer with FOP to generate pdf from xml. My problem is: I've installed new font - two files: - arial.ttf.xml - ARIAL.ttf I've made entry in user config:
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
8
by: traditore | last post by:
Hello. I'm trying to load fonts in a web page using "style" tag. The TTF files are in other page whose URL is, for example, "http://myURL/fonts". The HTML code is something like: <html>...
5
by: Christian Stapfer | last post by:
After switching from Python 2.3 to 2.4 (Enought), PIL throws an exception that did not occur formerly (under Python 2.3) when executing ImageFont.truetype(font, size) where font =...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.