Freetype tips with loading fonts
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
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
And now I can print Asian (Chinese, Japanese, Korean), Greek, Russian languages in Pharo/Dr. Geo. I am still looking for people to translate in Japanese, Greek and Russian. It takes place there http://translation.drgeo.eu Hilaire Le 30/05/2012 21:11, Stéphane Ducasse a écrit :
thanks hilaire. Yes this is useful.
excellent is it possible to get some screen shots? Stef On May 31, 2012, at 6:37 PM, Hilaire Fernandes wrote:
And now I can print Asian (Chinese, Japanese, Korean), Greek, Russian languages in Pharo/Dr. Geo.
I am still looking for people to translate in Japanese, Greek and Russian. It takes place there http://translation.drgeo.eu
Hilaire
Le 30/05/2012 21:11, Stéphane Ducasse a écrit :
thanks hilaire. Yes this is useful.
Sure, see on my tweets https://twitter.com/#!/drgeo2 There are Dr. Geo'screenshots with Japanese, Korean and Chinese. Hilaire On 31/05/2012 23:01, Stéphane Ducasse wrote:
excellent
is it possible to get some screen shots?
Stef
On May 31, 2012, at 6:37 PM, Hilaire Fernandes wrote:
And now I can print Asian (Chinese, Japanese, Korean), Greek, Russian languages in Pharo/Dr. Geo.
I am still looking for people to translate in Japanese, Greek and Russian. It takes place there http://translation.drgeo.eu
Hilaire
Le 30/05/2012 21:11, Stéphane Ducasse a écrit :
thanks hilaire. Yes this is useful.
-- Dr. Geo -- http://www.drgeo.eu
participants (3)
-
Hilaire Fernandes -
Hilaire Fernandes -
Stéphane Ducasse