[FIX] Moving images with TTCFonts between different endian platforms

Doug Way dway at mailcan.com
Wed Mar 10 19:06:34 UTC 2004


Just wanted to forward this to the list to get this into the BFAV.  This 
may be preliminary and I haven't tested it yet, but it appears to be 
necessary in order to move an .image with TrueType fonts between Mac and 
PC.  The fix clears the cache upon image save.

- Doug


-------- Original Message --------
Subject: 	Re: Endianness
Date: 	Tue, 09 Mar 2004 16:17:46 -0800
From: 	Yoshiki Ohshima <Yoshiki.Ohshima at acm.org>
To: 	Doug Way <dway at mailcan.com>, Ned Konz <ned at squeakland.org>
References: 	<9C29B8A0-7203-11D8-A760-00306558B8E0 at mailcan.com>



  Doug,

  The image copying issue suggests that we need to clear the cache
upon saving.  The attached changeset with two methods makes it work.

  And yes, generating base 64 encoded TTCFont is what is broken.  I
haven't looked at it yet...

  To summerize it, with Ned's ShortQuantitiesEndian.cs.gz and this
TTCFontShutDown.1.cs, you can copy the images between a Mac and a PC.
To make endian agnostic 'InstallBitstreamVera.cs', a fix to the
TTCFont encoder is needed.

  Thank you,

-- Yoshiki


-------------- next part --------------
A non-text attachment was scrubbed...
Name: TTCFontShutDown.1.cs
Type: application/octet-stream
Size: 870 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040310/a8534edc/TTCFontShutDown.1.obj


More information about the Squeak-dev mailing list