I always wondered why no programmer uses FontBucket from HandsHigh software-as far as I can recall, the program always worked pretty well and actually was prety fast. Anyways, BinaryClock will use FontBucket from now on-so, lets try to get it running in PODS.
Step 1-Download FontBucket
As if that wasn’t clear-you need FontBucket files to run FontBucket. You can download the files from the HandsHigh web site.
Step 2-Add the files to the PODS project
This is also pretty straight-forward. Create a subdirectory called FontBucket, and then import the FontBucket.c and FontBucket.h files into the program.
Step 3-Change the include paths
The include paths in the files were designated for CodeWarrior-PODS requires a different path layout. The code given below is intended for the files beeing placed in /src/fontbucket; you may need to change them if you place your files somewhere else.
Step 4-Add the glue library
OK; the files now are included and everything, but the compile will end with Error 0. If you look at the console, you will find the following report:
src/fontbucket/FontBucket.o(.text+0x26a):FontBucket.c: undefined reference to `FntGlueGetDefaultFontID’
src/fontbucket/FontBucket.o(.text+0x7b6):FontBucket.c: undefined reference to `FntGlueGetDefaultFontID’
Now, your program will compile with FontBucket included. Stay tuned for an article covering usage-and BinaryClock users, look forward to truetype fonts!