[fpc-pascal] Suggested bug fix.

Lowell C. Savage savage at lanl.gov
Tue Nov 1 20:11:02 CET 2005


Bug fix to the BGI compatibility stuff.

Line 81, in "gtext.inc" in the "rtl\inc\graph" directory, needs to be the 
following:


opcodes = (_END_OF_CHAR, _DO_SCAN, _DRAW = 253, _MOVE = 254 );


This is so that it can properly read the old Borland BGI font files with 
line drawn fonts.

The original line (at least in V. 2.0.0) had just the default values and 
"_MOVE" was before "_DRAW" so that "_MOVE" was 2 and "_DRAW" was 3.  When I 
made this change, my program went from displaying nothing to displaying the 
proper fonts.

Hope this helps.

Lowell C. Savage
savage at lanl.gov






More information about the fpc-pascal mailing list