Sprawdziłem fonty z tp7 borlanda (http://mono.i-demo.pl/tp7bgi.zip ).
W programiku java (http://mono.i-demo.pl/chrdraw2.jar ) uwzględniłem parametr "origin to bottom" i jego znak (jest jeszcze "origin to baseline", ale we wszystkich dotychczasowych fontach jest ustawiony na 0 - obecnie nie uwzględniam go, bo nie wiem nawet czy ma znak czy nie). W programiku atari (http://mono.i-demo.pl/chrdraw2.atr ) dałem 20k bufor na font.
Poniżej zrzuty ekranu z pc i atari.
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/BOLD.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: BOLD
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 53
Character range: (20)..?(ff)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/EURO.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: EURO
Description: Stroked Font V1.1 - May 17, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -10
Origin to top of capital distance: 45
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/GOTH.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: GOTH
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 25
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/LCOM.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: LCOM
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 28
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/LITT.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: LITT
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -2
Origin to top of capital distance: 7
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/SANS.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: SANS
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 25
Character range: (01)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/SCRI.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: SCRI
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -12
Origin to top of capital distance: 25
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/SIMP.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: SIMP
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 28
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/TRIP.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: TRIP
Description: Stroked Font V1.1 - Jun 5, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 24
Character range: (20)..?(fe)
jerzyk@ox:~/workspace/chrdraw$ java -jar chrdraw2.jar BGI/TSCR.CHR 01234ajlmW
Font type: BGI
Font name:
Internal font name: TSCR
Description: Stroked Font V1.1 - Aug 3, 1989
Copyright (c) 1987,1988 Borland International
Driver version: 1.0
Scan flag: 0
Signature: +
Origin to baseline distance: 0
Origin to bottom descender distance: -7
Origin to top of capital distance: 24
Character range: (20)..?(fe)
Źródła są w http://mono.i-demo.pl/chrdraw2-src.zip (java) oraz w http://mono.i-demo.pl/chrdraw2.asx (atari).
hex, code and ror'n'rol
niewiedza buduje, wiedza rujnuje