All Projects → khinsen → leibniz-pharo

khinsen / leibniz-pharo

Licence: MIT license
Leibniz runtime library for Pharo

Programming Languages

smalltalk
420 projects

leibniz-pharo

The second iteration of Leibniz, implemented in Pharo making heavy use of the Glamorous Toolkit

screenshot

Installation in a pre-built GToolkit distribution

Execute the following lines in a playground:

Metacello new
    baseline: 'LeibnizForGToolkit';
    repository: 'github://khinsen/leibniz-pharo/src';
    load.

Note that Leibniz makes generous use of Unicode glyphs that are not contained in the default fonts used by GToolkit. The only suitable free fonts I have found to replace them are JuliaMono and Arial Unicode MS. Leibniz will automatically select one of them, if available, for use in graphical displays.

If you want to correctly display these Unicode glyphs in Pharo code (in strings and symbols used by Leibniz), you have to replace the GToolkit default fonts by JuliaMono (or another suitable monospaced font). Run the following script from a playground:

TBlTextStyleable compile: 'glamorousCodeFont
    self fontName: ''JuliaMono'''.
TBlTextStyleable compile: 'glamorousCodeDefaultFont
    self defaultFontName: ''JuliaMono'''.

Dependencies

The following list is provided for information. All the dependencies will be installed automatically in the procedure explained above.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].