[ENH] Display := when pretty printing ( [sm][et][er][cd] [approved] )

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Tue Oct 14 00:19:04 UTC 2003


  Richard,

> Short term:  whichever fonts Squeak is shipped with, FIX THEM so that they
> contain exactly the same characters at all supported sizes.  This isn't
> just a matter of left and up arrows.  For example, just now I started up
> an out-of-the-box Squeak 3.5(5180), opened a Workspace, and did
> 	String streamContents: [:s |
> 	    32 to: 255 do: [:i |
> 	        s nextPut: (Character value: i)]]
> and Print-It.  This gave me a string with printable characters, one would
> hope.  The font was New York 12.  There are about 78 printing characters
> above tilde, including a Euro sign.  (A Euro is an Australian marsupial,
> basically a kind of kangaroo.)  Switch from New York 12 to New York 15,
> and there are only 76 printing characters.  The Euro has disappeared, and
> in place of one of the remaining printing characters there is now a blocky
> drawing of a robot, which I must suppose is someone's idea of a joke.
> Switch to New York 18, and the robot has disappeared, being replaced by a
> heart sign.  Switch to New York 24, and the robot is back, the heart gone.
> What's the good of having a Euro sign at only one size?  And of course the
> set of printing characters in Atlanta is different again.

  In the m17n package, there are four changeset called
NewYork{10,12,18,24}Missing.st.  This adds *sane* glyphs to NewYork
font.  (I don't know if this violates the license term or not, though.)

> Long term:  support Unicode.
> ...
> I don't say it will be easy.  I for one would find it very difficult.
> (I have a partly-built Smalltalk compiler and classes, built as an exercise
> in understanding the ANSI Smalltalk standard.  If ever finished, the thing
> will use Unicode.  But I've made my life easy by following ANSI's lead and
> including no graphics whatsoever...)  But we _have_ to go there.

  What would you say the hardest part of this long term solution?

-- Yoshiki



More information about the Squeak-dev mailing list