"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/libpbmfont2.c" between
netpbm-10.91.00.tar.xz and netpbm-10.91.01.tar.xz

About: Netpbm is a toolkit for conversion of images between a variety of different formats, as well as to allow a few basic image operations (a successor to Jef Poskanzer’s PBMPlus package). Latest release.

libpbmfont2.c  (netpbm-10.91.00.tar.xz):libpbmfont2.c  (netpbm-10.91.01.tar.xz)
skipping to change at line 1133 skipping to change at line 1133
const struct pm_selector * const selectorP) { const struct pm_selector * const selectorP) {
/*---------------------------------------------------------------------------- /*----------------------------------------------------------------------------
Read a BDF font file "filename" as a 'font2' structure. A 'font2' Read a BDF font file "filename" as a 'font2' structure. A 'font2'
structure is more expressive than a 'font' structure, most notably in that structure is more expressive than a 'font' structure, most notably in that
it can handle wide code points and many more glyphs. it can handle wide code points and many more glyphs.
Codepoints up to maxmaxglyph inclusive are valid in the file. Codepoints up to maxmaxglyph inclusive are valid in the file.
The returned object is in new malloc'ed storage, in many pieces. The returned object is in new malloc'ed storage, in many pieces.
When done with, destroy with pbm_destroybdffont2(). When done with, destroy with pbm_destroybdffont2().
The returned object refers to *selectorP, so that must continue to exist
until you call pbm_destroybdffont2().
-----------------------------------------------------------------------------*/
FILE * ifP; FILE * ifP;
Readline readline; Readline readline;
struct font2 * font2P; struct font2 * font2P;
bool endOfFont; bool endOfFont;
ifP = fopen(filename, "rb"); ifP = fopen(filename, "rb");
if (!ifP) if (!ifP)
pm_error("Unable to open BDF font file name '%s'. errno=%d (%s)", pm_error("Unable to open BDF font file name '%s'. errno=%d (%s)",
filename, errno, strerror(errno)); filename, errno, strerror(errno));
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)