bzt fa73c3b58d Read glyphs from a sample file | hai 9 meses | |
---|---|---|
.. | ||
freetype2 | %!s(int64=4) %!d(string=hai) anos | |
libimagequant | %!s(int64=4) %!d(string=hai) anos | |
potracelib | %!s(int64=4) %!d(string=hai) anos | |
Makefile | %!s(int64=4) %!d(string=hai) anos | |
Makefile.env | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
bitmap.c | hai 9 meses | |
bitmap.h | hai 9 meses | |
libsfn.h | hai 9 meses | |
sfn.c | hai 9 meses | |
stb_png.h | %!s(int64=3) %!d(string=hai) anos | |
unicode.c | hai 9 meses | |
unicode.h | hai 9 meses | |
unicode.php | %!s(int64=3) %!d(string=hai) anos | |
util.c | hai 1 ano | |
util.h | hai 1 ano | |
vector.c | hai 9 meses | |
vector.h | %!s(int64=4) %!d(string=hai) anos | |
zlib.c | %!s(int64=4) %!d(string=hai) anos | |
zlib.h | %!s(int64=4) %!d(string=hai) anos |
This is a library to manipulate SSFN files as well as import other formats. For the latter it has some dependencies. This library is only used by the converter and the editor, and NOT needed by the renderer. The library relies on the renderer, and not the other way around. See libsfn's API for more details.
Heavily stripped down versions of the required libraries are linked statically by default. These include:
To generate the static library, run
$ make libsfn.a
If you rather have dynamically linked dependencies (libimagequant and freetype2), then
$ USE_DYNDEPS=1 make libsfn.a
I would recommend static dependencies under Windows, and dynamic under Linux (and other POSIX systems with decent package management for shared libraries).
To exclude importing foreign font formats altogether and just support SSFN and ASC (no need for libimagequant nor freetype2), then use
$ USE_NOFOREIGN=1 make libsfn.a
Note: to avoid .dll.a linking issues under MinGW, both sfnconv and sfnedit directly links with the .o object files of libsfn. K.I.S.S.! :-)