thanks hilaire. Yes this is useful. On May 30, 2012, at 10:49 AM, Hilaire Fernandes wrote:
> Hello > > In case, it is useful to someone. It is how I clean up the known fonts > in the image and load an external one located along the image. > > > FreeTypeFontProvider unload. > FreeTypeFontProvider current > updateFromFileEntry: > (FileDirectory default entryAt: 'UnDotum.ttf') > directory: FileDirectory default > locationType: #imageRelative. > FreeTypeFontProvider current buildFamilies. > FreeTypeFontSelectorDialogWindow new open. "to see the loaded font" > > StandardFonts balloonFont: > (LogicalFont familyName: 'UnDotum' pointSize: 10). > StandardFonts defaultFont: > (LogicalFont familyName: 'UnDotum' pointSize: 11). > > > Hilaire > > -- > Dr. Geo -- http://www.drgeo.eu > >
