ektemple / glimmr-i7x

Automatically exported from code.google.com/p/glimmr-i7x
4 stars 1 forks source link

Glimmr Canvas Editor: SCALE command incorrectly infers "horizontally" #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The SCALE command should be able to take a single argument, which will scale 
the image symmetrically to that ratio, e.g.:

SCALE 0.8000

Prerelease versions did this correctly, but the released version instead 
attempts to supply the "horizontally" adverb, and furthermore seems to be 
reading this as an interactive rather than imperative command:

> scale 1.2500
(horizontally)
Indicate the ratio at which the element should be scaled horizontally. The 
ratio must be expressed as a decimal with four-digit precision; e.g., 0.8000 
represents 80%.
[Scaling canceled.]

This is all quite incorrect.

Original issue reported on code.google.com by Ek.Temple@gmail.com on 8 Aug 2010 at 9:20

GoogleCodeExporter commented 9 years ago
The issue seems to occur only when the scale ratio provided is greater than 
than 0.9999, e.g.:

SCALE 1.2500

Original comment by Ek.Temple@gmail.com on 8 Aug 2010 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is a bug in Inform, introduced after build 5Z71 (see 
http://inform7.com/mantis/view.php?id=488 ). Potential workarounds seem not to 
fix it, so I am leaving it for the future.

Original comment by Ek.Temple@gmail.com on 31 Dec 2010 at 1:36