Project

General

Profile

Actions

Bug #677

closed

Amiga font spacing problem

Added by Paul Kitching almost 4 years ago. Updated over 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
Actions #1

Updated by Paul Kitching almost 4 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.

Actions #2

Updated by Brian Flanagan almost 4 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!

Actions #3

Updated by Brian Flanagan almost 4 years ago

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

Updated by Brian Flanagan almost 4 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)

Actions #5

Updated by Francois Lionet over 3 years ago

  • Status changed from Feedback to Resolved

Fixed!

Actions #6

Updated by Brian Flanagan over 3 years ago

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

Works in B7!

Actions

Also available in: Atom PDF