[squeak-dev] The Trunk: TrueType-nice.13.mcz
Nicolas Cellier
nicolas.cellier.aka.nice at gmail.com
Tue Jan 19 03:58:33 UTC 2010
2010/1/19 Colin Putney <cputney at wiresong.ca>:
>
> On 2010-01-18, at 10:34 AM, Nicolas Cellier wrote:
>
>>
>> BTW, I see much code like:
>> 'true' asByteArray
>> Not that it costs that much CPU, but I'd like to make it a literal...
>> However, I'd like to preserve the initializing code and semantics.
>> This solution is not really satisfying:
>> "'true' asByteArray" #[116 114 117 101]
>
> I prefer this option, actually. 'true' asByteArray is bogus to begin with. What encoding are those bytes? ASCII? Latin-1? UTF8? Do the bytes that are produced depend on the internal encoding of String? Or maybe the encoding of the changes file. Sure, all these questions have answers, but they are not obvious from the source code. At least #[116 114 117 101] is unambiguous.
>
> Colin
>
Seems to be a header for true type fonts
More information about the Squeak-dev
mailing list
|