Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003215 [Squeak] TrueType minor always 03-02-06 21:48 03-28-06 20:46
Reporter Hans-Martin View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.9
Summary 0003215: saving and reloading a string morph with a true type font breaks the font
Description Don't know whether this a system (SmartRefStream?) or Morphic issue.

Here's how to reproduce:
- Create a string morph.
- Use the font menu to use the 36pt BitstreamVeraSans font.
- Save the morph in a file.
- Load the morph again.
It now has the bold version of the font.
Additional Information
Attached Files

- Relationships

- Notes
(0004410 - 316 - 316 - 316 - 316 - 316 - 316)
cdan
03-08-06 22:32

It seems that somehow a wrong TTFontDescription gets loaded along with the StringMorph. If you inspect the StringMorph's font befor and after loading it from a file you'll see that TTCFont(BitstreamVeraSans 24 Roman) changes in TTCFont(BitstreamVeraSans 24 Bold) although the StringMorph's emphasis field is still 0.
 
(0004417 - 273 - 315 - 315 - 315 - 315 - 315)
cdan
03-09-06 18:54
edited on: 03-10-06 08:30

TTFontDescription class>>descriptionFullNamed: descriptionFullName

here one can see that the Descriptions class variable has only one element and this one is a TTFontDescription('Bitstream Vera Sans') with
subfamilyName 'Bold'
uniqueName ''Bitstream Vera Sans Bold'

 
(0004419 - 238 - 256 - 256 - 256 - 256 - 256)
cdan
03-09-06 23:08

check a 3.8 6665 image and you'll see that Descriptions is populated with all TTFons from the very beginning :)
So this can be:
1. a mistake in the 3.9 image or
2. 'intentional having to do with 3.9 being in alpha' (to quot kencausey)
 
(0004575 - 55 - 73 - 73 - 187 - 187 - 187)
cdan
03-26-06 20:34
edited on: 03-26-06 21:36

This is solved in 3.9alpha 0007015 :)
or even earlier

 
(0004591 - 4 - 4 - 4 - 4 - 4 - 4)
MarcusDenker
03-28-06 20:46

7015
 

- Issue History
Date Modified Username Field Change
03-02-06 21:48 Hans-Martin New Issue
03-08-06 22:00 cdan Issue Monitored: cdan
03-08-06 22:32 cdan Note Added: 0004410
03-09-06 18:54 cdan Note Added: 0004417
03-09-06 19:50 cdan Note Edited: 0004417
03-09-06 19:50 cdan Note Edited: 0004417
03-09-06 22:09 KenCausey Category System => TrueType
03-09-06 23:08 cdan Note Added: 0004419
03-10-06 08:30 cdan Note Edited: 0004417
03-26-06 20:34 cdan Note Added: 0004575
03-26-06 21:36 cdan Note Edited: 0004575
03-28-06 20:46 MarcusDenker Status new => closed
03-28-06 20:46 MarcusDenker Note Added: 0004591
03-28-06 20:46 MarcusDenker Resolution open => fixed
03-28-06 20:46 MarcusDenker Fixed in Version  => 3.9


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