On Fri, Aug 21, 2015 at 2:11 PM, Tobias Pape Das.Linux@gmx.de wrote:
Hi,
On 21.08.2015, at 12:16, karl ramberg karlramberg@gmail.com wrote:
On Wed, Aug 19, 2015 at 5:34 PM, Levente Uzonyi leves@elte.hu wrote: I see the following issues here (latest Trunk image):
- Glyphs for non-ascii (asciiValue >= 256) characters are shown as a
black rectangle.
- 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.
- 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 ?
Karl
Karl
Levente
On Wed, 19 Aug 2015, Tobias Pape wrote:
Hi Mateusz
On 16.08.2015, at 00:56, Mateusz Grotek unoduetre@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