Project

General

Profile

Bug #677

Amiga font spacing problem

Added by Paul Kitching about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/25/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

If you use a font, then a larger one and go back to the smaller one, the spacing for characters doesn't reduce to match the smaller font.

#manifest: "amiga"
//#manifest: "aoz"
#splashScreen:False
#amigaFont: "arial"
cls 0
ink 2       // use for Amiga
//ink 1     // Use for AOZ
set font "arial",15
text 10,80,"Testing the font spacing"
set font "arial",25
text 10,105,"Testing the font spacing"
set font "arial",40
text 10,140,"Testing the font spacing"
set font "arial",25
text 10,170,"Testing the font spacing"
set font "arial",15
text 10,190,"Testing the font spacing"
wait key
end

This happens in both Amiga and AOZ mode.
See attached pics.


Files

FontProblem.PNG (6.13 KB) FontProblem.PNG Amiga Mode Paul Kitching, 02/25/2021 03:18 PM
FontProblemAOZ.PNG (4.85 KB) FontProblemAOZ.PNG AOZ Mode Paul Kitching, 02/25/2021 03:22 PM
FontProblemSizes.PNG (2.34 KB) FontProblemSizes.PNG Mixed Sizes Paul Kitching, 02/25/2021 05:41 PM
#1

Updated by Paul Kitching about 3 years ago

It also seems to mix up the different font sizes. I'm getting a line of text showing characters from different sizes. See pic - H is squashed, A is from 48 point font, and spaces added because I used 48 point previously in the program.

#2

Updated by Brian Flanagan about 3 years ago

  • Status changed from New to Feedback

Tested this in 1.0.0 (B5).
It does nothing.
NOTE: Arial is not an Amiga font!

#3

Updated by Brian Flanagan about 3 years ago

  • Affected version changed from 1.0.0 (B4) to 1.0.0 (B5)
#4

Updated by Brian Flanagan about 3 years ago

Oops! I take that back. arial is an Amiga font!
...however, this code still does nothing.
It must be a bug in 1.0.0 (B5)

#5

Updated by Francois Lionet about 3 years ago

  • Status changed from Feedback to Resolved

Fixed!

#6

Updated by Brian Flanagan about 3 years ago

  • Status changed from Resolved to Closed
  • Target version set to 1.0.0 (B7)

Works in B7!

Also available in: Atom PDF