|
libalfont.a anyone? |
Mark Oates
Member #1,146
March 2001
|
Can someone please attach or link me to libalfont.a? I'm using Dev-Cpp by the way and I can't seem to find this file. -- |
CGamesPlay
Member #2,559
July 2002
|
If you have a choice, use Glyph Keeper. ALFont is no longer maintained. That said, I can't, because I don't have it installed. -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
ok, I'm looking int Glyph Keeper now... -- |
Neil Walker
Member #210
April 2000
|
If you download OpenLayer the .a file is included, though you'll have to get the manuals elsewhere. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Mark Oates
Member #1,146
March 2001
|
cool. I used libglyph.a from Openlayer. Openlayer to the rescue! thanks -- |
CGamesPlay
Member #2,559
July 2002
|
I'm gonna bump this thread because I'm pretty sure you'll need it. -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
Quote: I'm gonna bump this thread because I'm pretty sure you'll need it. good work, because now I'm having this problem : I cannot convert the Glyph Keeper to the Allegro's FONT. The error is: "'gk_create_allegro_font' is undeclared;" the function:
-- |
CGamesPlay
Member #2,559
July 2002
|
#define GLYPH_TARGET GLYPH_TARGET_ALLEGRO? The OpenLayer libglyph.a might have trouble because its target is GLYPH_TARGET_ALLEGROGL... -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
I added #define GLYPH_TARGET GLYPH_TARGET_ALLEGRO above the #include "glyph.h" line and it still gives me that error : "'gk_create_allegro_font' is undeclared;" or "undefined reference to 'gk_create_allegro_font'". It is defined the glyph.h file, is it possible that it was not compiled into the Openlayer .a version? -- |
CGamesPlay
Member #2,559
July 2002
|
Yes. If you get the "undefined reference", it means that the linker cannot find it. It was not compiled into OpenLayer. If you get "undeclared", it means the compiler cannot find it, amongst the .h files. -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
I'm trying to compile Glyph Keeper myself but it failes -- see attachment. What am I doing wrong? -- |
CGamesPlay
Member #2,559
July 2002
|
The compiler in the makefile is set to cc, instead of say gcc. Try make CC=gcc . Also, if you clock the prompt's icon, you can go to Edit->Mark, select text, and press enter to copy it to the clipboard. -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
I tried changing the cc's to gcc's in the makefile but it still will not compile. also tried this:
[edit] another alternative: is there a function that converts OpenLayer bitmap to an allegro Bitmap? -- |
Kitty Cat
Member #2,815
October 2002
|
You forgot the CC=gcc on the last line. -- |
Mark Oates
Member #1,146
March 2001
|
I type here is an exerpt:
-- |
CGamesPlay
Member #2,559
July 2002
|
That'd probably be because Glyph can't find/isn't including FreeType... Check its docs? -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
I have found another way to get it to work. I was able to do all the text drawing and stuff in OpenLayer, capture a screenshot, thanks to this thread: http://www.allegro.cc/forums/thread/552667 . then crop the bitmap and saved it. Thanks for all your help. -- |
CGamesPlay
Member #2,559
July 2002
|
Wait, this was jsut a one-image deal? That couldn't've been done in MS Paint? -- Ryan Patterson - <http://cgamesplay.com/> |
Mark Oates
Member #1,146
March 2001
|
I plan on doing a bunch of them. They need to be the same font size, have the same margins, etc. It's always a pain to do 10 in a row, only to find out they should be a font size smaller, or the margin is off... this way I can do them in batch. Now to save them as a 16-color gif with a transparent background. -- |
Neil Walker
Member #210
April 2000
|
Forgot about the allegrogl build, sorry. Do you still want a copy as it's just a quick recompile to get the original allegro version built? Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|