On 16 April 2013 15:36, kilon <theki...@yahoo.co.uk> wrote:
> Oh Oh
>
> not only enabling Freetype does not solve the problem but even saving and
> quiting and restarting the image
> the problem remains.
>
> So I disabled and renabled Freetype again and save and quit and opened pharo
> again and this time pharo closes, everytime i try to reopen pharo it closes
> immediately .... how I disable freetype without being able to open my image
> ?
>

You should recreate surface if you restarted an image (step2)
I updated notes in tutorial:

=================
step2
"Step 2:

Creating a surface.

Protocol:

<SurfaceClass> extent: x@y

will create a surface using specific class.

All surfaces is conformant to AthensSurface protocol.

Example:
"

surface := AthensCairoSurface extent: self extent asIntegerPoint.

"IMPORTANT NOTE:
        the surface which we will create at this step will be used in later 
steps.
        This means that if you resize the window (changing the view size),
you may need to recreate surface.
        Also, since surface uses external resources, quitting an image and
restarting it, will also require to
        create a new surface, because the one from previous session will be
no longer accessible.
"
===========
step30

"Step 30: drawing text.

Please note that this step requires Freetype enabled.
Check if you enabled it in settings.
>From world menu, go System->Settings
And then look for Appearance -> Use freetype in settings browser.

"



-- 
Best regards,
Igor Stasenko.

Reply via email to