Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Bernd Mueller
Bart wrote: Is this a bug, or is there something wrong with my system? I can confirm the described behavior on my Windows 98 machine. But the problem seems to go deeper. If I put a Button on a Form, and double click the Button to let the IDE write the OnClick method, I get the error

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Mattias Gaertner
On Fri, 01 May 2009 10:48:19 +0200 Bernd Mueller muelle...@gmx.net wrote: [...] The class TForm1 is mixed then. See attached screen shot. Sorry. My fault. I fixed that an hour ago in svn r19726. Mattias ___ Lazarus mailing list

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Martin Friebe
Bart wrote: On 4/30/09, Martin Friebe laza...@mfriebe.de wrote: It looks to me like it uses a different font. certainly it looks like it believes the font was proportional (that is why you get the odd spacing, because SynEdit forces it into a grid). The last font-related changes in

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Bart
On 5/1/09, Martin Friebe laza...@mfriebe.de wrote: I have attached a patch with a few debugln in it. I don't know if they will show anything useful, since I have no idea what is going on. If you apply it, you need to start lazarus with a logfile, to capture the output. (There is a command

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Bart
On 5/1/09, Bernd Mueller muelle...@gmx.net wrote: Bart wrote: Is this a bug, or is there something wrong with my system? I can confirm the described behavior on my Windows 98 machine. What was your latest revision that seemed to be OK? (My latest was 18956, I hope yours is later...)

[Lazarus] File region locking under Linux

2009-05-01 Thread ajv
I have a problem with file region locking under Linux. First I start setup to create a file and writelock range 10..30 -- program setup; {$mode delphi}{$H+} Usescthreads, Classes, SysUtils, BaseUnix; Const Fn =

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Martin Friebe
Bart wrote: On 5/1/09, Martin Friebe laza...@mfriebe.de wrote: I have attached a patch with a few debugln in it. I don't know if they will show anything useful, since I have no idea what is going on. If you apply it, you need to start lazarus with a logfile, to capture the output.

Re: [Lazarus] File region locking under Linux

2009-05-01 Thread Mattias Gaertner
On Fri, 01 May 2009 17:10:09 +0200 ajv a...@vogelaar-electronics.com wrote: I have a problem with file region locking under Linux. First I start setup to create a file and writelock range 10..30 Wrong list. This question is better asked on the FPC mailing list. Mattias

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Bernd Mueller
Martin Friebe wrote: The best is probably to try and find the revision which broke it. Everything else is just blind search for a needle in a hay stack. r19131 is the breaking revision. Regards, Bernd. ___ Lazarus mailing list

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Paul Ishenin
Bernd Mueller wrote: Martin Friebe wrote: The best is probably to try and find the revision which broke it. Everything else is just blind search for a needle in a hay stack. r19131 is the breaking revision. Oh... my revision. I will try to test on win98 tomorow. Best

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Paul Ishenin
Bernd Mueller wrote: Martin Friebe wrote: The best is probably to try and find the revision which broke it. Everything else is just blind search for a needle in a hay stack. r19131 is the breaking revision. Please test with r19746. Best regards, Paul Ishenin.

[Lazarus] Need help about printer Custom Size

2009-05-01 Thread Coppola Ing. Salvatore
I need to print on a non standard size paper and this should be done directly from the application without the printersetupdialog. How to set the new size? Any help will be appreciate Salvatore ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

[Lazarus] TFont.Orientation

2009-05-01 Thread Felipe Monteiro de Carvalho
Hello, I added this property. I verifyed that it works in Carbon and I implemented it for Qt. It should obviously work for win32/wince and also for gtk2. From the major platforms, only gtk1 should not support it. -- Felipe Monteiro de Carvalho ___

[Lazarus] TFont.size

2009-05-01 Thread Felipe Monteiro de Carvalho
Hello, Does anyone the difference between TFont.Height and TFont.Size? It seams to me that Height is measured in pixels and Size is some other unit which I don't know. Even worse, it doesn't seam to be an international system unit, but rather an american unit (some fraction of inches). The

[Lazarus] TFont.Name best practices

2009-05-01 Thread Felipe Monteiro de Carvalho
Hello, Which guidelines do you use to choose TFont.Name? Specially because you either distribute the font with the application or you have no guarantee it will exists in the system in the chaotic universte of cross-platform development. Different libraries have different policies about choosing

Re: [Lazarus] Editor font disturbed after upgrading to r19705

2009-05-01 Thread Bart
On 5/1/09, Paul Ishenin webpi...@mail.ru wrote: Bernd Mueller wrote: Martin Friebe wrote: The best is probably to try and find the revision which broke it. Everything else is just blind search for a needle in a hay stack. r19131 is the breaking revision. Please test

Re: [Lazarus] TFont.size

2009-05-01 Thread Howard Page-Clark
On Fri, 1 May 2009 17:35:19 -0300 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Hello, Does anyone the difference between TFont.Height and TFont.Size? ... A rather exoteric property IMHO. Or yet another Windowsism in Delphi Not so much a Windowsism as baggage from

Re: [Lazarus] TFont.size

2009-05-01 Thread Jesus Reyes
--- El vie 1-may-09, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com escribió: It seams to me that Height is measured in pixels and Size is some other unit which I don't know. Even worse, it doesn't seam to be an international system unit, but rather an american unit