On 26.12.2011 11:15, Hilaire Fernandes wrote:
I try to copy and paste in a Worksapce some greek word taken from web
content , it only produces garbadge, although pasting in a Terminal is fine.
When searching for alternate font in the system I can get some
meaningful characters.
Which means the copy is fine at least, there's just not fonts to display them correctly :)

However, depending on the locale of the system, it means switching to
alternate font in Pharo. I don't think we have some sort of mechanism to
switch to other fonts depending on the locale, do we? Without to mention
we will have it to be plateform neutral.

Hilaire
I'd think finding a system font (with a reasonable glyph coverage, and acceptable aesthetics) for each platform would be a decent comprimise. Then you'd only need a startup class to check which platform you're on when starting, and switch accordingly.

The alternative is to include TT fonts with the distribution, which will work cross-platform for the glyphs it covers, but bloat the size immensely for any font with decent coverage. I believe it was done for the 1.0/1.1 full images, so check one of those for details.

Cheers,
Henry

Reply via email to