473,804 Members | 3,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FreeType

Hi, where can I download freetype (>= 2.1.7)? I need it to use
matplotlib. I have search a lot but still can not find it. Thanks!

May 17 '07 #1
7 2729

On May 17, 2007, at 12:29 PM, Glich wrote:
Hi, where can I download freetype (>= 2.1.7)? I need it to use
matplotlib. I have search a lot but still can not find it. Thanks!
Type 'freetype' in the google search form, and click the "I'm Feeling
Lucky" button. If that doesn't work for some reason, go to
freetype.org.

May 17 '07 #2
I've been there. All the code is in C/C++, don't I need it in python?
I will explore the software. I dismissed this because there was no
python. I am knew to all of this. Thanks for your reply.

May 17 '07 #3
Glich wrote:
I've been there. All the code is in C/C++, don't I need it in python?
I will explore the software. I dismissed this because there was no
python. I am knew to all of this. Thanks for your reply.
matplotlib has extension modules that wrap the C library. You will need to
install libfreetype, then build matplotlib.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

May 17 '07 #4

On May 17, 2007, at 2:47 PM, Glich wrote:
I've been there. All the code is in C/C++, don't I need it in python?
I will explore the software. I dismissed this because there was no
python. I am knew to all of this. Thanks for your reply.
The c stuff (freetype) is what you need (it gets installed as a
library that can be used by python or any other software entity that
needs its functionality). It may seem a little weird, but lots of
the stuff you call from python is written in c. More than likely,
your python interpreter is also written in c :-)
May 17 '07 #5
Michael Bentley wrote:
On May 17, 2007, at 2:47 PM, Glich wrote:
>I've been there. All the code is in C/C++, don't I need it in python?
I will explore the software. I dismissed this because there was no
python. I am knew to all of this. Thanks for your reply.

The c stuff (freetype) is what you need (it gets installed as a
library that can be used by python or any other software entity that
needs its functionality). It may seem a little weird, but lots of
the stuff you call from python is written in c. More than likely,
your python interpreter is also written in c :-)

Alternatively use the Python Imaging Library (PIL), which I believe
includes freetype support.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
------------------ Asciimercial ---------------------
Get on the web: Blog, lens and tag your way to fame!!
holdenweb.blogs pot.com squidoo.com/pythonology
tagged items: del.icio.us/steve.holden/python
All these services currently offer free registration!
-------------- Thank You for Reading ----------------

May 17 '07 #6
Michael Bentley wrote:
On May 17, 2007, at 2:47 PM, Glich wrote:
>I've been there. All the code is in C/C++, don't I need it in python?
I will explore the software. I dismissed this because there was no
python. I am knew to all of this. Thanks for your reply.

The c stuff (freetype) is what you need (it gets installed as a
library that can be used by python or any other software entity that
needs its functionality). It may seem a little weird, but lots of
the stuff you call from python is written in c. More than likely,
your python interpreter is also written in c :-)

Alternatively use the Python Imaging Library (PIL), which I believe
includes freetype support.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
------------------ Asciimercial ---------------------
Get on the web: Blog, lens and tag your way to fame!!
holdenweb.blogs pot.com squidoo.com/pythonology
tagged items: del.icio.us/steve.holden/python
All these services currently offer free registration!
-------------- Thank You for Reading ----------------
May 17 '07 #7
Steve Holden wrote:
Alternatively use the Python Imaging Library (PIL), which I believe
includes freetype support.
The OP seems to be trying to build matplotlib, which actually does require the
FreeType library. The PIL, lovely though it is, is not a substitute.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

May 17 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1861
by: awaegel | last post by:
Hello, I've been running php/apache/etc locally on my powerbook for a long time, but am having problems activating freetype with a new version of php. I'm using: php 4.4.0 freetype 2.1.10 (compiled from source) gd 2.0.28 (came with php)
0
1266
by: p | last post by:
Hi, I've been writing text onto images using imagettftext, having first loaded an Arial TTF. The result can be seen at http://linuxbox.co.uk/57_off.png After moving the code to another server, the text started coming out differently: http://linuxbox.co.uk/65_off.png Examing phpinfo() for each server, it seems the original server had:
1
1728
by: francescomoi | last post by:
Hi. I compiled PHP by using: -------------- './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-curl=/usr/local/include/curl' '--with-gd=/usr/local/gd' '--with-zlib-dir=/usr/local/zlib' '-with-jpeg-dir=/usr/local/jpeg-6b' '--with-ttf=/usr/include/freetype2'
0
1066
by: Leon | last post by:
Hi, Has anybody experimented with this python binding for Freetype2 (http://www.satzbau-gmbh.de/staff/abel/ft2/index.html) ? I'm hoping to learn more about using text in pyOpenGl by creating textures from glyphs generated by Freetype2. I downloaded and installed the bindings, and with the download came an example (render.py) which renders a string to an image, when I run the example without modifying the code, only the first character...
0
2227
by: Jack Wu | last post by:
Hi I've spent a good majority of my day trying to figure out how to have PIL 1.1.5 working on my OSX 10.3.9_PPC machine. I'm still stuck and I have not gotten anywhere. Could somebody please help me... I've scoured all the documentation, google, and mailing lists to no avail. I believe the problem may lay in a jpeglib problem with OSX 10.3.9, or a python paths problem.
2
2822
by: Lorenzo Thurman | last post by:
I keep getting this error when trying to use fonts with Image_Graph: PHP Fatal error: Call to undefined function: imagettfbbox() in /usr/local/lib/php/Image/Canvas/GD.php on line 1240 After Googling the error, it seems that I was missing Freetype support. I've installed Freetype and rebuilt PHP with Freetype support, but I still get the same error. I look at the output from phpinfo() and I see that PHP was compiled with this switch:...
1
1826
by: Jason Yamada-Hanff | last post by:
Hi all, I'm working on a project that would benefit very much from Python Freetype2 bindings (the Fonty Python project). I don't want to duplicate efforts and wrap the library again if we don't have to. Interestingly, it seems like there have been lots of attempts at doing this. Generally, there are: ft2 - http://www.satzbau-gmbh.de/staff/abel/ft2/index.html
0
4225
by: luckyG | last post by:
I have php (5.2.4) compiled on redhat 4.0 as followed : ./configure \ --with-oci8=$ORACLE_HOME --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild \ --with-gd \ --with-ttf=/usr/include/freetype2 \ --with-freetype-dir=/usr/include/freetype2 \ --with-gd-native-ttf \
3
3639
by: =?ISO-8859-1?B?QW5kcukgSORuc2Vs?= | last post by:
Hi, I'm experiencing very bad character spacing / anti-aliasing with a PHP installation. I compared it to another installation where it works. I'm using the following test code: $ih = imagecreatetruecolor(200,100); $ch_white = ImageColorAllocate($ih, 255,255,255); imagettftext($ih,8,0,10,21,$ch_white,'arialbd.ttf','REFERENZENXXX'); header('Content-Type: image/gif');
0
9588
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10327
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2999
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.