Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-11

Suggested bug fix.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lowell C. Savage

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

Reply by email

Florian Klaempfl
to Lowell C. Savage
Lowell C. Savage wrote 11 lines
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.

Show quoted text 17 lines
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 _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email