• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    C
  • Created over 13 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Xcode project file that can be used to build the Freetype 2 project for iOS

Freetype 2 Xcode Project

This is simply a distribution of the Freetype 2 library, that includes an Xcode project ready to build the Freetype 2 library into a static binary for the iOS operating system.

The motivation for releasing this project is that the cmake generator does not generate a correct Xcode project file for the Freetype project. It took me a number of hours to arrange this Xcode project so that it would compile without error, so hopefully Xcode project this will be useful to others.

The project only includes the Freetype modules for processing TrueType and OpenType fonts. Other font modules have been disabled. If you want to re-enable these modules, you will need to download the Freetype 2 source code, and then copy the module source files to the appropriate location in either the "include/" or "src/" folders of this distribution. The Freetype source code is available here. The instructions for including these new modules in the Xcode project is left as an exercise, but if you follow the pattern of the truetype module in the Xcode project, your module should compile correctly.

The code in this distribution comes from version 2.4.4 of the Freetype library.

Install

You can add the project file to the workspace of an existing project by dragging freetype2.xcodeproj to the appropriate place in Xcode. You then will need to link your target with the libFreetype2.a static library. Consult the documentation for your version of Xcode for instructions on how to do this.

You can also use the "install.sh" script. This script will create a universal fat binary for the i386, armv6 and armv7 architectures. You can then drag the resulting libFreetype.a static library to the open Xcode project you want to use the Freetype library in.

From there, you will need to tell you target project where the Freetype 2 headers are located. For this, you will need to add a recursive link to the "include/" path of this Freetype source code distribution, to the "Header Search Paths" entry of your Xcode project. The "Header Search Path" entry needs to be relative to the target project's location on your file system.

License

This code is distributed under the terms of the Freetype License. The Freetype License is also included in this distribution. If you are going to use code in this project, please make sure you follow the instructions in the Freetype License.

More Repositories

1

ftgles

A truetype font rendering library for OpenGL ES on iOS devices (iPad and iPhone)
C++
143
star
2

freetype2-android

Freetype 2 for Android
C
52
star
3

shdr

Run shaders on the CPU to debug them easily (in javascript!!)
JavaScript
11
star
4

five-game

an iphone game
Objective-C
9
star
5

multitouchscreen

A class for handling mulitouch info from the iOS, useful in situations where user input needs to be synchronized with rendering. Also useful if you need to adapt a mouse-based app for the iOS multitouch environment.
Objective-C
8
star
6

nachos

a toy operating system
C++
6
star
7

opengles2-template

Starter template for shader pipeline in OpenGLES 2
Objective-C
6
star
8

experiments

Code experiments in a variety of different languages...
C
5
star
9

metronome-java

Sample android metronome app for my brother
Java
5
star
10

hdk

Game engine (and tools) to build 2.5d games for iOS and Android
C
5
star
11

ftgles-lite

lite version of ftgles
C++
5
star
12

fixedpointsprite

A small experimental iPhone app to try out OpenGL ES sprite animation using fixed point coordinates.
Objective-C
4
star
13

marching

A hacky implementation of the "marching squares" algorithm, in an OpenGL ES 1.1 iPhone app.
Objective-C
4
star
14

celljs

iOS app running a very simple javascript REPL, via spidermonkey.
C
3
star
15

stoked

Implementation of an entity component system
C++
3
star
16

difont

A font rendering library.
C
3
star
17

iglview

UIView for openGL ES apps on iOS. Supports iPad and iPhone 4's screen.
2
star
18

neon-vfp-diag

timing tests for various matrix functions on iOS devices with NEON/VFP chips.
C
2
star
19

cdave1.github.io

website files
HTML
1
star
20

multitouchview

A class for handling mulitouch info from the iOS, useful in situations where user input needs to be synchronized with rendering. Also useful if you need to adapt a mouse-based app for the iOS multitouch environment.
Objective-C++
1
star
21

peachy

An old php project - a command line utlity for the web
1
star
22

euler-hs

project euler in haskell
Haskell
1
star
23

skeleton

shader thing
C
1
star
24

soundtools

scripts for manipulating sound files
Shell
1
star
25

dotfiles

Emacs stuff
Emacs Lisp
1
star
26

euler

project euler stuff
C
1
star
27

functionpipeline

An experimental system for managing game object animation using selectors.
Objective-C
1
star
28

tetris

old directX implementation of tetris
C++
1
star
29

openpl

physics interface idea
C
1
star
30

picpac

A spritesheet packing tool that Just Worksโ„ข
1
star
31

kolora

kolora palette editor
JavaScript
1
star
32

hontouniiioto

Android NDK application test using a native activity, OpenSL ES and OpenGL ES.
D
1
star
33

blogbot

an experimental system for auto-categorising rss content
Python
1
star
34

hdk-tango-v1

Tango UI editor for hdk v1
Objective-C++
1
star
35

Smashed

Source code for "Smashed", a game for iOS, released under GPL v3.0
C++
1
star
36

Liftweb-GAE

Liftweb template for Google App Engine
Scala
1
star
37

grfx

A dump of graphics and math functions to pick and choose from for iOS openGL demos and quick apps.
1
star
38

pyai

A collection of simple AI Algorithms
Python
1
star
39

freetype2-brew

Freetype 2 homebrew
1
star