Stéphane Ducasse schrieb:
Thank you Henry! With your hint i've finally found a solution!

In Squeak I could file out the font with:
(StrikeFont familyName: 'Accujen' size: 9) writeAsStrike2named: 'Accujen9.sf2'

In Pharo then I could file it in with:
TextConstants at: 'Accujen' put: (TextStyle fontArray: (Array with: (StrikeFont new readFromStrike2: 'Accujen9.sf2'))).
Preferences restoreDefaultFonts.
StrikeFont limitTo16Bits.
StrikeFont useUnderscoreIfOver1bpp

Now I can use the Accujen like any other font in Pharo. :)

could you package that and put it somewhere?
so that we can reuse it somebody needs it?
A AccujenPharo Package would be great!

Stef
I'm quite new to packages/monticello etc. - probably it should be two packages: one for Squeak (to file out) and one for Pharo (to file in). Or is it possible to include files (the fonts) into packages? I'm quite busy at the moment but will think about it the next days!
Jochen
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to