[squeak-dev] [Bug] Cannot use non-english characters even after loading a proper font

Tobias Pape Das.Linux at gmx.de
Fri Aug 21 12:49:04 UTC 2015


On 21.08.2015, at 14:42, karl ramberg <karlramberg at gmail.com> wrote:

> 
> 
> On Fri, Aug 21, 2015 at 2:11 PM, Tobias Pape <Das.Linux at gmx.de> wrote:
> Hi,
> 
> On 21.08.2015, at 12:16, karl ramberg <karlramberg at gmail.com> wrote:
> 
> >
> >
> > On Wed, Aug 19, 2015 at 5:34 PM, Levente Uzonyi <leves at elte.hu> wrote:
> > I see the following issues here (latest Trunk image):
> >
> > 1. Glyphs for non-ascii (asciiValue >= 256) characters are shown as a black rectangle.
> >
> > 2. FontImporterTool doesn't see fonts in the subdirectories of the base font directory. Because of this, there's only one font on the list for me.
> >
> > 3. FontImporterTool doesn't use the selected font in the preview panel.
> >
> > This fixes the preview of the font:
> >
> > FontImporterTool>>currentSelection: anObject
> > anObject = currentSelection ifTrue: [^ self].
> > currentSelection := anObject.
> > self changed: #currentSelection.
> > self changed: #contents.
> > self changed: #filename.
> > self changed: #copyright.
> > self changed: #previewText.
> >
> 
> Ah I see. In Morphic-mt.951 FontImporterTool became a Subclass of Model and not StringHolder.
> I'll change accortingly (in trunk)
> 
> Best regards
>         -Tobias
> Oh, that explains it. I did not notice that the contents send did nothing.
> What does contents do for model ?

Nothing. But it did things for StringHolder.
The #contents area of the StringHolder was where now the #previewText is.
 :)

Best regards
	-Tobias


> 
> Karl
> 
> 
> > Karl
> >
> >
> > Levente
> >
> >
> > On Wed, 19 Aug 2015, Tobias Pape wrote:
> >
> > Hi Mateusz
> >
> > On 16.08.2015, at 00:56, Mateusz Grotek <unoduetre at poczta.onet.pl> wrote:
> >
> > Hi,
> > First of all thank you for the new version of Squeak. It's really great.
> >
> > Special thanks for Tobias and Marcel for the font import tool! It works perfectly.
> >
> > Nevertheless I have noticed that there is a regression in Squeak 4.6/5.0 in the font handling. It's not possible anymore to use non-english characters even after loading a font that contains them (I've changed the code font and tried to use the characters in a workspace). Can anyone verify?
> >
> > It is somewhat strange,
> > I imported Arial Unicode (the whole stuff) and, yes some characters did not show up,
> > but others (such as ß) did. I don't know yet _where_ the problem is. Although
> > I've written the importer, I still lack some knowledge to debug this behavior.
> >
> > Best regards
> >         -Tobias




More information about the Squeak-dev mailing list