[Pharo-dev] default monospaced code font
thierry.goubier at cea.fr
Thu Oct 17 10:00:36 EDT 2013
Oh, ok, thanks for the explanation.
I noticed effectively that switching to Source Sans 10 increased
significantly the density (copying the Source Sans font files in
/usr/local/share/fonts/ made them visible to Pharo), and that, it solved
the MNU on unicode glyphs as well. So all is well with the Source Sans
Pro and I'm happy.
Le 17/10/2013 15:22, btc at openinworld.com a écrit :
> > what with the 2x space?
> Something I like about Source Code Pro is the greater spacing between
> identifiers. In comparison, I found DejaVu Sans and Source Sans Pro to
> be too dense, especially so with the latter. So I experimented with
> doubling the size of that space with the proportional fonts. I just
> Search-Replaced <space> with <space-space>, but in an IDE you could use
> one of the wider space character like the EN-QUAD . Except the
> performance with Unicode versus ascii characters would need to be
> checked. I've attached a some more comparisons of identifier spacing.
> Sorry I mislead you with the Source Sans Pro 2X-spacing in previous
> PDF. You wont get that exactly out of the box without some code changes
> to use a wider space character. Check you opinion against the 1X-spacing.
> cheers -ben
>  http://www.cs.tut.fi/~jkorpela/chars/spaces.html
> Goubier Thierry wrote:
>> Excellent, I like the comparison a lot! Thanks!
>> My take is:
>> - Unable to like Source Code Pro 9 (and it's so wide);
>> - Source Sans Pro 9 has spacing issues (16r, the r is too close) and
>> reading issues (it's the worse for the lL|i characters)
>> - Source sans Pro 10 is better than 9 (but what with the 2x space?)
>> Overall, I'd stay with DejaVu Sans 9 based on this sample. In my
>> opinion, the best compromise density / readability.
>> Le 16/10/2013 19:56, btc at openinworld.com a écrit :
>>> Goubier Thierry wrote:
>>>> I'd be more impressed if the argument was helping me distinguish
>>>> between | and l.
>>> Yes. It is designed to do that. Some common failings of monospaced fonts
>>> are noted  and dealt with. There comment section is also interesting.
>>> The attached PDFs are the result of getting the urge to compare a broad
>>> coverage of code examples (taken from "Terse Guide to Squeak") against
>>> three fonts:
>>> * DejaVu Sans 9 point
>>> * Source Code Pro   9 point
>>> * Source Sans Pro   9 point & 10 point, since the width of 10 was
>>> the same as the others at 9.
>>> Also attached is the source excel file.
>>> cheers -ben
>>>  http://blogs.adobe.com/typblography/2012/09/source-code-pro.html
>>>  http://sourceforge.net/projects/sourcecodepro.adobe/files/
>>>  http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html
>>>> I'l let you try, then :)
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
More information about the Pharo-dev