Microsoft KB Archive/47875

MSJ VECTFONT: Vector Fonts, PM, and the OS/2 GPI

PSS ID Number: Q47875 Article last modified on 04-16-1991

MS-DOS | OS/2

Summary: The following is a summary of the program found in the “Microsoft Systems Journal” and in the Software/Data Library: Issue: March 1989, Vol. 4, No. 2, pages 1-14 Title: “Exploring Vector Fonts with the OS/2 Graphics Programming Interface” Author: Charles Petzold Keyword: VECTFONT VECTFONT can be found in the Software/Data Library by searching on the keyword VECTFONT, the Q number of this article, or S12219. VECTFONT was archived using the PKware file-compression utility. This program shows some of the fancy things that can be done when you combine the capabilities of vector fonts with the rest of GPI. The following text is taken from the cover of the “Microsoft Systems Journal”: Vector fonts, a series of lines and curves that can be filled and stretched or compressed to any size and rotated to any angle, are not tied to a particular output device. This article shows you how to work with vector fonts in GPI and uses the VECTFONT program to demonstrate their capabilities.

More Information: The following are some of the programming concepts used in VECTFONT: 1. Enumerating the available fonts 2. Using paths to fill fonts 3. Using fonts as a clip path for other drawings 4. Using transforms to rotate and/or shear fonts