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

karl ramberg karlramberg at gmail.com
Fri Aug 21 10:16:04 UTC 2015


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.

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
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150821/4067d3e0/attachment.htm


More information about the Squeak-dev mailing list