Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001481 [Squeak Packages] Balloon3D minor always 07-16-05 06:05 08-11-05 18:59
Reporter mzimmerm View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0001481: [BUG][Balloon] BalloonCanvas not rendering text
Description Michael Latta <lattam@mac.com>:

"Text is not being rendered for any BalloonCanvas with a transformation.
  When I place a StringMorph inside a TransformationMorph subclass that
uses a balloon canvas it does not render. When I look at the code
involved the following two methods stand out.

BalloonCanvas>>drawString:from:to:in:font:color:
BalloonCanvas>>paragraph:bounds:color:

Both call ifNoTransformWithIn: and only attempt to render if it returns
true.

I imagine this is an issue with the use of bitmap fonts, it should be
possible to scale true type fonts. It would be nice however to at
least make an attempt to locate a suitable font. The current code
results in just blank space.

Michael
"
Additional Information
Attached Files

- Relationships

- Notes
(0001818 - 412 - 476 - 512 - 512 - 512 - 512)
mzimmerm
07-16-05 06:08

Michael Latta <lattam@mac.com>:

"It is not the ifNoTransformWithIn: that is the issue. It is getting to
the bitblt, but nothing shows. I suspect a clipping issue with the use
of TransformationMorph. The bounding box is centered on 0, rather than
being all positive as in the normal morphic cases. I am still looking
into this, but as usual if someone has knowledge of this let me know.

Michael"
 
(0001819 - 276 - 334 - 370 - 370 - 370 - 370)
mzimmerm
07-16-05 06:09

Michael Latta <lattam@mac.com>:

"The drawString:from:to:in:font:color: method is not transforming the
bounding box using the current transformation. But it is not dealing
with scaling yet. I should have a fix pretty soon for this with TT
fonts at least.

Michael"
 

- Issue History
Date Modified Username Field Change
07-16-05 06:05 mzimmerm New Issue
07-16-05 06:08 mzimmerm Note Added: 0001818
07-16-05 06:09 mzimmerm Note Added: 0001819
08-11-05 18:59 MarcusDenker Project Squeak => Squeak Packages


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
37 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker