accented font support in Squeak

Andreas Raab Andreas.Raab at gmx.de
Thu Oct 4 05:25:51 UTC 2001


John,

Sorry for the confusion. I've attached the fixed version of that method.
After filing it in, each newly created text style should have the correct
accented characters.

Cheers,
   - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org]On Behalf Of John
> Hinsley
> Sent: Wednesday, October 03, 2001 10:01 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Re: accented font support in Squeak
>
>
> Andreas Raab wrote:
> >
> > John,
> >
> > Ah! That's a bug. I've been pulling in the characters based
> on Squeak (which
> > is Mac Roman) encoding rather than Windows. If you change
> > HostFont>>fontName:size:emphasis: to use
> >
> >         (Character value: i) squeakToIso asInteger
> >
> > in the primitive calls (#primitiveFont:fullWithOfChar: and
> > #primitiveFont:glyphOfChar:into:) they come out rather nicely.
>
> Sorry, Andreas, but you've lost me somewhere between the >> and the #!
> (you have to remember, I'm a newbie!). Can you remember the
> line I have
> to replace?
>
> Cheers
>
> John
>
> --
> Can't cope anymore? Desperate for help?
> Join the 12 step program for those who yearn to give up Microsoft:
> http://home.earthlink.net/~penguinrox/index.html
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HostFont-fontNamesizeemphasis.st
Type: application/octet-stream
Size: 1848 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20011003/a8106dbf/HostFont-fontNamesizeemphasis.obj


More information about the Squeak-dev mailing list