[Gambas-user] Gambas 3 Printing

Benoît Minisini gambas at ...1...
Wed Dec 15 23:06:06 CET 2010


> Benoit
> Test project attached. I have included  a screenshot of my Print Dialog.

Indeed. It is disabled on your machine. But it works perfectly there.

> It was interesting doing a small test project. In my main project, which
> uses basically the same code, the "Font" property is not respected and
> all printing is done in Ubuntu font. Also the Text Align.Right or
> Align.Center properties have no effect unless the Height property is
> specified. 

This is by design. Alignment only works inside a rectangle. Maybe I could 
modify the routine to work as you expected.

> In the test project I did not encounter these problems so I
> need to revisit the Paint methods.
> However the Orientation problem persists.

Did you tell me which version of GTK+ you are using?

Does someone else has the problem ?

-- 
Benoît Minisini




More information about the User mailing list