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. [1] http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Andika_FAQ-... [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 <gazzaguru2@btinternet.com>:
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" <hilaire@ofset.org> To: <Pharo-project@lists.gforge.inria.fr> 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 <norbert@hartl.name>:
On Mon, 2009-02-23 at 20:18 +0200, Igor Stasenko wrote:
2009/2/23 Norbert Hartl <norbert@hartl.name>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- http://blog.ofset.org/hilaire
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Jérôme Agater j.agater@uni-oldenburg.de