[fpc-pascal] Suggested bug fix.
Florian Klaempfl
florian at freepascal.org
Tue Nov 1 22:57:00 CET 2005
Lowell C. Savage wrote:
> 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.
Applied, thx.
>
> 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
>
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list