2009/2/24 Jerome <[email protected]>:
> It seems Andika has a higher line-spacing because it takes characters
> with multiple stacked unicode diacritics[2] into account which would
> be clipped otherwise[1]. If this is deemed not aceptable, there exists
> the SIL Type Tuner, which can change the line-height easily. [3]
> Unfortunatly I have no windows system.
>
here the .xml config produced by running:
TypeTuner.exe -x and.xml AndBasR.ttf
So, there is
<feature name="Line spacing" value="Normal">
and possible values
<value name="Normal"/>
<value name="Tight"/>
<value name="Loose"/>
<value name="Imported"/>
i can try to rebuild font using 'Tight' line spacing.
But i don't want to install this font on my windoze box. Is
squeak/freetype allows to load a truetype font from directory where vm
located?
> [1]
> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Andika_FAQ-KI#5755a55d
> [2] http://en.wikipedia.org/wiki/Diacritic
> [3] http://scripts.sil.org/TypeTuner
>
> Am 24.02.2009 um 16:55 schrieb Igor Stasenko:
>
>> 2009/2/24 Gary Chambers <[email protected]>:
>>> That's just down to the fact that textstyles are applied on opening
>>> of
>>> browsers/morphs.
>>> Reopening the browsers should sort it.
>>>
>>> The slight other concern I have with this font is the apparently
>>> excessive
>>> line spacing, not as compact as, say, Arial.
>>>
>>
>> Does anyone knows, how/where line height is calculated?
>> Maybe this code does not takes font DPI in account, or assuming a
>> fixed dpi which is mismatching with screen dpi.
>>
>>
>>
>>> Regards, Gary
>>>
>>> ----- Original Message -----
>>> From: "Hilaire Fernandes" <[email protected]>
>>> To: <[email protected]>
>>> Sent: Monday, February 23, 2009 7:20 PM
>>> Subject: Re: [Pharo-project] Font for Pharo
>>>
>>>
>>> Can it be related to a problem I saw recently with text string
>>> inappropriately clipped toward the end (string length calculus seems
>>> too short of 1 or 2 pixels)?
>>> I can see it in last release when using deja vue font for example.
>>>
>>> It does not show up in #194 however.
>>>
>>> Hilaire
>>>
>>>
>>> 2009/2/23 Norbert Hartl <[email protected]>:
>>>> On Mon, 2009-02-23 at 20:18 +0200, Igor Stasenko wrote:
>>>>> 2009/2/23 Norbert Hartl <[email protected]>:
>>>>>> On linux it doesn't look very good. There is something weird
>>>>>> with the font height and position. Well, it looks a lot better
>>>>>> in pharo than in gnome :)
>>>>>>
>>>>> seems like you changed font after opening a browser window. And it
>>>>> using old font height to calculate line heights.
>>>>>
>>>> If I would have changed the font after opening the window I couldn't
>>>> see the new font. The fonts are only applied on opening a window.
>>>> You can see it in the workspace and the menu two. There is enough
>>>> space through the big line height. In the class browser it is
>>>> somehow
>>>> cut off.
>>>>
>>>> Norbert
>>>>
>>>>
>>>>>
>>>>>> screenshot is attached.
>>>>>>
>>>>>> Norbert
>>>>>>
>>>>>> On Mon, 2009-02-23 at 13:33 +0100, Jérôme wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I found the Font "Andika Basic"[2] which is an Open Source and
>>>>>>> Free-
>>>>>>> Software[1] Unicode-ready font made by the same people who
>>>>>>> brought us
>>>>>>> Gentium, the typeface for the nations. I suggest using Andika
>>>>>>> as the
>>>>>>> Pharo CI Font since it can be distributed along with Pharo and
>>>>>>> looks a
>>>>>>> little bit like Lucida Grande, the Mac-UI-font, but at the same
>>>>>>> time
>>>>>>> is more friendly and better readable[3]. According to the Andika
>>>>>>> Website, Andika is Swahili, which is spoken widely in
>>>>>>> southeastern
>>>>>>> regions of the African continent, and means "Write!".
>>>>>>>
>>>>>>> Have a look:
>>>>>>> [2]
>>>>>>> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Andika
>>>>>>> [3] http://minusfreun.de/blog/uploads/Pharo.png
>>>>>>>
>>>>>>> Jérôme
>>>>>>>
>>>>>>> [1] http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [email protected]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>>>>>> project
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko AKA sig.
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [email protected]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [email protected]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>>
>>> --
>>> http://blog.ofset.org/hilaire
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> Jérôme Agater
> [email protected]
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
Best regards,
Igor Stasenko AKA sig.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE features_set SYSTEM "feat_set.dtd">
<features_set version="1.0">
<feature name="Vietnamese-style diacritics" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Literacy alternates" value="True">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Uppercase Eng alternates" value="Large eng with descender">
<value name="Large eng with descender"/>
<value name="Large eng on baseline"/>
<value name="Capital N with tail"/>
<value name="Large eng with short stem"/>
</feature>
<feature name="Capital N-left-hook alternate" value="Uppercase style">
<value name="Uppercase style"/>
<value name="Lowercase style"/>
</feature>
<feature name="Open-O alternate" value="Bottom serif">
<value name="Bottom serif"/>
<value name="Top serif"/>
</feature>
<feature name="Capital Y-hook alternate" value="Right hook">
<value name="Left hook"/>
<value name="Right hook"/>
</feature>
<feature name="Modifier apostrophe alternates" value="Small">
<value name="Small"/>
<value name="Large"/>
</feature>
<feature name="Modifier colon alternate" value="Tight">
<value name="Tight"/>
<value name="Wide"/>
</feature>
<feature name="Digit Zero with slash" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Digit One without base" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Digit Four with open top" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Digit Six and Nine alternates" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Digit Seven with bar" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small i-tail alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small j-serif alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small l-tail alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Capital Q alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small q-tail alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small t-tail alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Small y-tail alternate" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Diacritic selection" value="False">
<value name="False"/>
<value name="True"/>
</feature>
<feature name="Line spacing" value="Normal">
<value name="Normal"/>
<value name="Tight"/>
<value name="Loose"/>
<value name="Imported"/>
</feature>
</features_set>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project