Happy !

HilaireFernandes / DrGeo

Project infos

License GPLv3
Tags geometry interactive dynamic math
Creation date 2013-06-04
Website http://drgeo.eu

Monticello registration

About DrGeo

Dr. Geo code is now hosted at dev.drgeo.eu, the code below belongs to version 17.07 and before.

Dr. Geo is an interactive geometry framework. It allows you to interactively construct geometric figures then to manipulate dynamically these figures. It is a tool for primary, secondary or upper education.

Install

To install the Dr. Geo Work-In-Progress, you need Pharo 6 image and Pharo6 source file, then execute in a work-space:

Gofer new
   url: 'http://smalltalkhub.com/mc/HilaireFernandes/DrGeo/main';
   package: 'ConfigurationOfDrGeo';
   load.
((Smalltalk at: #ConfigurationOfDrGeo) project version: #development) load.

Set font

Before running Dr. Geo, you need to activate FreeType (from the Settings menu), then change the Bitmap system font to any True Type Font. It is needed to get Athens working on Dr. Geo.

Alternatively, you can copy and paste the code bellow in a Work-space, then do-it (select all and [Alt]/[Ctrl]-d:

| fontFamilyName font |
fontFamilyName := 'Arial'.
FreeTypeSystemSettings loadFt2Library: true. 
FreeTypeFontProvider current updateFromSystem.
font := [:fontSize| 
   LogicalFont 
      familyName: fontFamilyName
      pointSize: fontSize].
StandardFonts defaultFont: (font value: 10). 
StandardFonts codeFont: (font value: 10).
StandardFonts listFont: (font value: 10).
StandardFonts menuFont: (font value: 10).
StandardFonts buttonFont: (font value: 10).
StandardFonts windowTitleFont: (font value: 12).
StandardFonts balloonFont: (font value: 9).
StandardFonts haloFont: (font value: 9).

Run

Then start Dr. Geo with:

DrGDefault beWorkstation; beSystem.
DrGeo new.

Enjoy

Fell free to participate to Dr. Geo development.