MyFonts Using non-BGI fonts within Pascal programs.
ver 1.53 Copyright (c) 1993 by Matthias KФppe.
1 General Information
----------------------
MyFonts is a Turbo Pascal unit. With MyFonts, you can use non-BGI fonts
within pascal programs. Following font types are supported:
* VGA BIOS fonts 8, 14, 16 pixels high
* DOS CPI fonts code-page dependent, 8, 14, 16 pixels high
* Windows bitmap fonts (if present in your system)
* Windows vector fonts NEW! (if present in your system)
* BGI fonts NEW: direct utilization - better output
+ And additional - TrueType Fonts!
At the program start-up, the used fonts are declared. Then, you can access
these fonts by identifying numbers. So you will be able to exchange fonts
dynamically.
Font output is done with routines which are compatible to the Graph unit.
MyFonts provides the following techniques:
* clipping (limitting output to a rectangle)
* TV text markers switch the text color
* Windows-compatible text metrics
* synthesization of bold font variants (for Windows and BGI)
* character space justification
* text alignment also at the base line and the leading line
The MyFonts unit is part of the MyMouse software package. It is based on
the following units:
- Gr This unit is the commonly used graphic interface. The graphics
mode is to be set by SetGrMode first. Please read Gr's
documentation for more information.
- Memory This Turbo Vision unit is used for dynamically reserving memory
for the font glyphs and releasing it again if it is needed.
Before MyFonts is used, Memory must be initialized by an InitMemory call.
If you wish to use many big fonts, you should largen the buffer area by
changing the Memory.MaxBufMem variable.
New in Version 1.5
|