diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-04-17 23:21:23 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-04-17 23:21:23 +0000 |
commit | d6d8d586b4e9c8ba5ce8585c9886028ce5874e59 (patch) | |
tree | 2314aed68d80caef28da9cb0c27e8ec0d6ea51fc /lib/pbmfont.h | |
parent | f4cc0337c78db32083e66cfdf00491e904520543 (diff) | |
download | netpbm-mirror-d6d8d586b4e9c8ba5ce8585c9886028ce5874e59.tar.gz netpbm-mirror-d6d8d586b4e9c8ba5ce8585c9886028ce5874e59.tar.xz netpbm-mirror-d6d8d586b4e9c8ba5ce8585c9886028ce5874e59.zip |
Add genfontc, replacing former -dump option on pbmtext
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2711 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/pbmfont.h')
-rw-r--r-- | lib/pbmfont.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/lib/pbmfont.h b/lib/pbmfont.h index ef06570a..5111a075 100644 --- a/lib/pbmfont.h +++ b/lib/pbmfont.h @@ -76,20 +76,30 @@ struct font { int fcols, frows; }; -struct font* pbm_defaultfont(const char* const which); -struct font* +struct font * +pbm_defaultfont(const char* const which); + +struct font * pbm_dissectfont(const bit ** const font, unsigned int const frows, unsigned int const fcols); -struct font* pbm_loadfont(const char * const filename); -struct font* pbm_loadpbmfont(const char * const filename); -struct font* pbm_loadbdffont(const char * const filename); -void pbm_dumpfont(struct font * const fnP); + +struct font * +pbm_loadfont(const char * const filename); + +struct font * +pbm_loadpbmfont(const char * const filename); + +struct font * +pbm_loadbdffont(const char * const filename); + +void +pbm_dumpfont(struct font * const fontP, + FILE * const ofP); extern struct font pbm_defaultFixedfont; extern struct font pbm_defaultBdffont; - #ifdef __cplusplus } #endif |