forked from Lainports/freebsd-ports
FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. PR: 61456 Submitted by: Igor Pokrovsky <tiamat@comset.net>
11 lines
348 B
C++
11 lines
348 B
C++
--- src/FTFace.cpp.orig Fri Jan 16 13:23:11 2004
|
|
+++ src/FTFace.cpp Fri Jan 16 13:23:23 2004
|
|
@@ -62,7 +62,7 @@
|
|
{
|
|
FT_Open_Args open;
|
|
|
|
- open.flags = (FT_Open_Flags)1; // FT_OPEN_MEMORY;
|
|
+ open.flags = /*(FT_Open_Flags)*/1; // FT_OPEN_MEMORY;
|
|
open.memory_base = (FT_Byte *)pBufferBytes;
|
|
open.memory_size = bufferSizeInBytes;
|
|
|