home *** CD-ROM | disk | FTP | other *** search
- #include "fntool.h"
-
- void cvtfix2prop(void) {}
- void cvtprop2fix(void) {}
- void centerwidth(void) {}
- void centerheight(void) {}
-
- /*
- void centerwidth(void)
- {
- int fmin,fmax;
- int offs,copy;
- int ii,jj;
-
- fmax = 0;
- fmin = outwidth;
- for(ii = 0; ii < outheight; ii++) {
- for(jj = 0; jj < outwidth; jj++) {
- if(bitmap[ii][jj]) {
- if(fmax < jj) fmax = jj;
- if(fmin > jj) fmin = jj;
- }
- }
- }
- copy = fmax - fmin + 1;
- if(copy <= 0) return;
- offs = (outwidth - copy) / 2;
- for(ii = 0; ii < outheight; ii++) {
- memset(workline,0,outwidth);
- memcpy(&workline[offs],&bitmap[ii][fmin],copy);
- memcpy(bitmap[ii],workline,outwidth);
- }
- }
- */
-
-