---
name: "dvilib"
section: "3"
platform: "linux"
package: "dvilib2-dev"
version: "1.3.2-5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/dvilib"
---

# dvilib(3)

a device independent DVI virtual machine library

## NAME

dvilib - a device independent DVI virtual machine library

## SYNOPSIS

\#include "libdvi29.h"\
 DVI DVI\_INIT(char \*vflibcap, char \*vflib\_params);\
 DVI DVI\_CREATE(DVI\_DEVICE dev, char \*file, DVI\_PROPERTY prop);\
 DVI\_DRAW\_PAGE(DVI dvi, DVI\_DEVICE dev, int page\_num, double shrink);\
 DVI\_DISPOSE(DVI dvi, DVI\_DEVICE dev);\

## DESCRIPTION

*dvilib* is a device independent DVI virtual machine for TeX DVI files. For given DVI file name and device information,  which contains a set of call back functions, it creates a DVI object. A set of call back functions includes  a function to draw images on application specific device such as window or printer. When a DVI object is requested to draw a page,  it interprets DVI instructions in a specified page. A DVI object obtains an image of a character via VFlib,  and invokes a call back function to draw a character.

Currently, there is no technical manual. Sorry.

## SEE ALSO

**vflib**(1),

## COPYRIGHT

Copyright ©  2007 Hirotsugu Kakugawa
