Code Example #include "VFlib-3_6.h" char *msg = "Hello world."; char *p; int fid; /* font id */ VF_BITMAP bm; /* Bitmap Object */ int pos_x, pos_y; /* reference point */ /* Initialize VFlib */ VF_Init("vflibcap", NULL); /* Initial Reference Point */ pos_x = pos_y = 0; /* Open a Font and Get a Font ID */ fid = VF_OpenFont1("timR24.pcf", -1, -1, -1, 1, 1); for (p = msg; *p != '\0'; p++){ /* Draw Each Character... */ bm = VF_GetBitmap1(fid, (long)*p, 1, 1); /* Get a Bitmap */ display_bitmap(bm, pos_x, pos_y); /* Display It */ pos_x = pos_x + bm->mv_x; /* Move the Reference Pt. */ pos_y = pos_y + bm->mv_y; VF_FreeBitmap(bm); /* Release a bitmap */ } /* Close a Font */ VF_CloseFont(fid);