Forums

Full Version: Freetype
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This will be covered in some demos I am doing but its useful for older code too. Full2D Text display can be a bit tricky on C++ GPU projects but there's a nice library that lets us do quite a lot, to install the libs you do need to build it so here are the steps

Code:
sudo apt-get install libfreetype6 libfreetype6-dev -y

cd /home/pi
Code:
wget https://download.savannah.gnu.org/releases/freetype/freetype-2.6.3.tar.gz
Code:
tar -xvzf freetype-2.6.3.tar.gz
Code:
cd freetype-2.6.3
Code:
make
Code:
sudo make install
you could make a script for this if you want. I covered how to use this in Lesson 10 of the MagiPi tuts.
oh and check for latest verison, here I'm using 2.6.3 but theres actuallly 2.10.4 now. I have no idea what was updated but both work just fine