Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 10.04.2016 1:02, Graeme Geldenhuys wrote: P.WriteUTF8Text(25, 20, 'Sample Text'); > >xFontCache := TFPFontCacheList.Create; >try > xFont := TFPFontCacheItem.Create('fonts\FreeSans.ttf'); > xFontCache.Add(xFont); > xWidth := xFont.TextWidth('Sample Text', cFontSize) *

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 08.04.2016 23:35, Graeme Geldenhuys wrote: As note: If I compile with -Cr, I got a Runerror 201 in unit fpparsettf >on line 810. I made a note of that, thanks. The attached patch fixes the range error. Ondrej Index: fpparsettf.pp

Re: [Lazarus] Trying to work around "Illegal character in format string"

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 20:40, Giuliano Colla wrote: > Otherwise consider to update your Lazarus to a more recent version, > because your 1.0.14 is quite old. :-) I still have 0.9.30 here in one of my Windows VM's. It still works great! If it ain't broken, don't fix it. ;-) Regards, - Graeme - -- fp

Re: [Lazarus] Trying to work around "Illegal character in format string"

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 20:00, Alan Corey wrote: > Trying inf help. Going to > http://sourceforge.net/projects/fpgui/files/fpGUI/Documentation/ Yes that is a bit confusing. I used to put documentation in the "Documentation" directory on SourceForge. Now I put them in the same directory as the fpGUI release

[Lazarus] [solved] Re: Filtering shown files in TShellListView

2016-04-09 Thread Marc Santhoff
On So, 2016-04-10 at 00:57 +0200, Bart wrote: > On 4/10/16, Marc Santhoff wrote: > > > I discovered the excellent TShellTreeView and TShellListView. > > > > How would I filter the shown files in TShellListView to a single or a > > few types, like '*.txt' or '*.txt; '*.rtf'? > > I don't think you

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-10 00:02, Graeme Geldenhuys wrote: > Here is verbosely commented code that draws a rectangle around the Page > Title text. Apologies, here is the correct code. = { Page title } P.SetFont(FtText1, 23); P.SetColor(clBlack, false); P.WriteUTF8Text(2

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 09:09, Ondrej Pokorny wrote: >P.WriteText(25, 0, 'Sample Text'); // DOESN'T WORK !!! Indeed. As I mentioned, the Write*Text() names are a bit inaccurate and will be improved. At the moment WriteText() is meant for the Standard PDF Fonts, and WriteUTF8Text() for any TTF fonts used

Re: [Lazarus] Filtering shown files in TShellListView

2016-04-09 Thread
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Filtering shown files in TShellListView

2016-04-09 Thread Bart
On 4/10/16, Marc Santhoff wrote: > I discovered the excellent TShellTreeView and TShellListView. > > How would I filter the shown files in TShellListView to a single or a > few types, like '*.txt' or '*.txt; '*.rtf'? I don't think you can. Bart -- __

[Lazarus] Filtering shown files in TShellListView

2016-04-09 Thread Marc Santhoff
Hi, I discovered the excellent TShellTreeView and TShellListView. How would I filter the shown files in TShellListView to a single or a few types, like '*.txt' or '*.txt; '*.rtf'? TIA, Marc -- Marc Santhoff -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Zeljko
On 04/09/2016 09:40 PM, Marc Santhoff wrote: Open Source is about helping to make things happen, not demanding others to do so. +1 zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Trying to work around "Illegal character in format string"

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 21:00, Alan Corey ha scritto: I guess I've got to get to the bottom of why I get this “Illegal character in format string” error under OpenBSD. I seem to be able to work around it in programs I might write by taking the Run → Clean up Build Files -> Clean up and Build approach. Bu

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Marc Santhoff
On Sa, 2016-04-09 at 18:44 +0200, Jürgen Hestermann wrote: > Am 2016-04-09 um 15:57 schrieb Juha Manninen: > > Regarding posts from Jürgen Hestermann. > > Unfortunately this is not the first time he finds excuses to blame > > Lazarus developers. > > The main theme is that developers have done a

Re: [Lazarus] Trying to work around "Illegal character in format string"

2016-04-09 Thread Michael Thompson
On 10 April 2016 at 03:00, Alan Corey wrote: > I don't know where this illegal character error is coming from, but I > didn't get it when I built and installed initially. > >From the screen shot. Lazarus IDE v1.0,14 is very old. I'm guessing you installed it directly from your distribution rep

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 18:49, JuuS ha scritto: Personally I had quite a fight with ibus and I finally removed it from my system with no ill effects. It is mostly used AFAIK with asian "alphabets". There must be some problem with ibus/input methods in the Debian line, because it would appear that more o

[Lazarus] Trying to work around "Illegal character in format string"

2016-04-09 Thread Alan Corey
I guess I've got to get to the bottom of why I get this “Illegal character in format string” error under OpenBSD. I seem to be able to work around it in programs I might write by taking the Run → Clean up Build Files -> Clean up and Build approach. But I don't seem to be able to rebuild the IDE t

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, Graeme Geldenhuys wrote: On 2016-04-09 18:27, Ondrej Pokorny wrote: As is the text width function (for right/center alignment support). That is already implemented in fpReport (Standard PDF built-in fonts and TTF fonts). What I haven't implemented yet is Font Kerning to

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, Ondrej Pokorny wrote: I think I'll develop a TPDFDocument->TCanvas renderer for previewing created PDF documents. Great. I should then be able to plug that into fpReport too. I want to implement a PDF & fpReport -> AggPas renderer too. We should then try to omit unnecess

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 19:42, Graeme Geldenhuys wrote: On 2016-04-09 18:27, Ondrej Pokorny wrote: As is the text width function (for right/center alignment support). That is already implemented in fpReport (Standard PDF built-in fonts and TTF fonts). What I haven't implemented yet is Font Kerning to mak

Re: [Lazarus] EasyLazFreeType demo not working

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 20:15, Jesus Reyes A. wrote: En Sat, 09 Apr 2016 12:50:42 -0500, Ondrej Pokorny escribió: I test the EasyLazFreeType from lazutils package. I cannot make the example work (in directory examples\lazfreetype). The actual problem is in TFreeTypeFont.LoadFace line "familyItem :=

Re: [Lazarus] EasyLazFreeType demo not working

2016-04-09 Thread Jesus Reyes A.
En Sat, 09 Apr 2016 12:50:42 -0500, Ondrej Pokorny escribió: I test the EasyLazFreeType from lazutils package. I cannot make the example work (in directory examples\lazfreetype). The actual problem is in TFreeTypeFont.LoadFace line "familyItem := Collection.Family[FName];" where Collecti

[Lazarus] EasyLazFreeType demo not working

2016-04-09 Thread Ondrej Pokorny
I test the EasyLazFreeType from lazutils package. I cannot make the example work (in directory examples\lazfreetype). It stops with this stack trace: #0 HANDLEERRORADDRFRAME(44954876, 0x2adf500, 0x2adf590) at P:\software\FPC\trunk_src\rtl\inc\system.inc:1133 #1 HANDLEERRORADDRFRAMEIND(210, 0x57

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 16:51, Giuliano Colla wrote: > I'd say that Здравствуйте > мир! is to be preferred, because it has a higher number of characters! Good point. :) Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org ht

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 18:33, Ondrej Pokorny wrote: > What PDF documentation do you use? (Where can I find information on PDF > creating?) I used the official PDF v1.3 specification document. All 700 pages of it, which I've probably read a 100 times over now. :) http://partners.adobe.com/public/develop

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 18:27, Ondrej Pokorny wrote: > As is the > text width function (for right/center alignment support). That is already implemented in fpReport (Standard PDF built-in fonts and TTF fonts). What I haven't implemented yet is Font Kerning to make the width calculation even more accurate,

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, Ondrej Pokorny wrote: On 09.04.2016 19:00, Michael Van Canneyt wrote: On Sat, 9 Apr 2016, Ondrej Pokorny wrote: I see that the PDF generator doesn't support image compression. This is a no-go in my eyes. Is anybody working on that or should I try to study it? We are no

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 19:28, Graeme Geldenhuys wrote: On 2016-04-09 17:27, Ondrej Pokorny wrote: I see that the PDF generator doesn't support image compression. This is a no-go in my eyes. Is anybody working on that or should I try to study it? It's on the todo list, as is Text Compression, Font Subset

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread micsch
Am Saturday 09 April 2016 18:49:26 schrieb JuuS: > Hi, yes its drastic but I wanted to know if ibus was the culprit. > > Personally I had quite a fight with ibus and I finally removed it from > my system with no ill effects. It is mostly used AFAIK with asian > "alphabets". i have the same Prob

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 17:27, Ondrej Pokorny wrote: > I see that the PDF generator doesn't support image compression. This is > a no-go in my eyes. Is anybody working on that or should I try to study it? It's on the todo list, as is Text Compression, Font Subset Embedding and many more. You are welcome to

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 19:00, Michael Van Canneyt wrote: On Sat, 9 Apr 2016, Ondrej Pokorny wrote: I see that the PDF generator doesn't support image compression. This is a no-go in my eyes. Is anybody working on that or should I try to study it? We are not yet working on this, it was on the TODO lis

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 16:50, Martok wrote: > I have a > filter set up for "From contains 'address', Action 'mark read'". If you read the mailing list via the Gmain NNTP access, then you can use XanaNews NNTP client. It has features like "ignore thread", "add author to bozo bin", advanced filters etc. Per

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Mark Morgan Lloyd
Juha Manninen wrote: users who don't understand the psychology behind the attacks, That makes it sound as though the unpleasantness is orchestrated, or at least premeditated. I thinks that's some way from being proven. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 7:44 PM, Jürgen Hestermann wrote: > Just ignore them if it you don't want to discuss them. Even after filtering I would see replies for your mails. However that is not the point. The point is that you feel justified to attack Lazarus developers in their own mailing list for

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, Ondrej Pokorny wrote: I see that the PDF generator doesn't support image compression. This is a no-go in my eyes. Is anybody working on that or should I try to study it? We are not yet working on this, it was on the TODO list, but not very high priority. AFAIR SynPDF u

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread wkitty42
On 04/09/2016 10:57 AM, Ondrej Pokorny wrote: On 09.04.2016 15:44, wkitt...@windstream.net wrote: On 04/09/2016 04:30 AM, Ondrej Pokorny wrote: Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread JuuS
On 04/09/2016 06:03 PM, Giuliano Colla wrote: > Il 09/04/2016 12:41, Dennis ha scritto: >> But the SD Card was corrupted so I installed the latest raspbian OS >> jessie on the same Pi 2 on a new SD Card. >> I reinstalled everything (e.g. mysql etc) and my program and it runs >> fine EXCEPT that p

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 6:47 PM, Bart wrote: > While I understand your sentiments and emotions, I think it is > unneccessary to mention specific names here. Based on my earlier experiences I think it is very important to mention names. Even the biggest flame-wars roll around just few agitators. U

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Лагунов Алексей
Correct - Привет мир!16:44, 9 апреля 2016 г., "wkitt...@windstream.net" :On 04/09/2016 04:30 AM, Ondrej Pokorny wrote: Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a typo or the library picks up

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
I see that the PDF generator doesn't support image compression. This is a no-go in my eyes. Is anybody working on that or should I try to study it? AFAIR SynPDF uses JPEG compression for images. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazaru

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 12:41, Dennis ha scritto: But the SD Card was corrupted so I installed the latest raspbian OS jessie on the same Pi 2 on a new SD Card. I reinstalled everything (e.g. mysql etc) and my program and it runs fine EXCEPT that pressing a key once will gives multiple letters. BUT this pr

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Aradeonas
> As someone who has been active on this list for a few weeks only, I > want to take this opportunity to thank the developers both of Lazarus > and FPC for your work, and also for being among the most approachable > people in open source projects I know. You are part of why I migrated > most of my

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 16:47, Graeme Geldenhuys ha scritto: On 2016-04-09 14:44, wkitt...@windstream.net wrote: interesting in what determines "correct"... Алло мир! Привет мир! Здравствуйте мир! That's my point exactly. I've seen the same thing in fpGUI's translation files. Many different terms, all

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Martok
As someone who has been active on this list for a few weeks only, I want to take this opportunity to thank the developers both of Lazarus and FPC for your work, and also for being among the most approachable people in open source projects I know. You are part of why I migrated most of my desktop wo

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Bart
On 4/9/16, Juha Manninen wrote: > Regarding posts from Jürgen Hestermann. While I understand your sentiments and emotions, I think it is unneccessary to mention specific names here. > I have learned that no logical reasoning helps with such agitators. Yep, that's why they are trolls. > We nee

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Jürgen Hestermann
Am 2016-04-09 um 15:57 schrieb Juha Manninen: > Regarding posts from Jürgen Hestermann. > Unfortunately this is not the first time he finds excuses to blame > Lazarus developers. > The main theme is that developers have done a poor job and did not > serve him well enough. > Earlier it was about th

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 16:41, Juha Manninen ha scritto: Comments are overrated. If you think of them as "deodorant masking fishy code" then less comments is better. Comments may help to clarify what is obvious to you at the moment of writing, but not to anybody else, and maybe even to you some time lat

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Michael Thompson
On 9 April 2016 at 22:41, Juha Manninen wrote: > Are you good in drawing diagrams? > :-) Me? I'm useless at drawing and at documentation. When I contributed to mplayer, I came up with three tactics of documentation - expanded comments in code, http://wiki.freepascal.org/TMPlayerControl and a

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 10:40, Michael Van Canneyt wrote: Fixed in rev. 33456. Thanks :) Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 16:22, Juha Manninen ha scritto: On Sat, Apr 9, 2016 at 5:07 PM, Giuliano Colla wrote: Because without a minimal amount of documentation all this valuable work risks to be useless, because: - nobody except a few core developers know of its existence - nobody except the developer i

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 15:44, wkitt...@windstream.net wrote: On 04/09/2016 04:30 AM, Ondrej Pokorny wrote: Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a typo or the library picks up the wrong chara

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 14:57, Juha Manninen wrote: > For future needs, do we a have a mechanism to ban people from this list? Hence I love NNTP. An admin can simply cancel a thread. With a mailing list somebody posts, and there is no way to stop that after the Send button was clicked. Then again, I have h

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 14:44, wkitt...@windstream.net wrote: > interesting in what determines "correct"... > > Алло мир! > Привет мир! > Здравствуйте мир! That's my point exactly. I've seen the same thing in fpGUI's translation files. Many different terms, all apparently meaning the same thing. Some were

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 5:18 PM, Michael Thompson wrote: > You say minimal, code analysis says Average. Comments are overrated. If you think of them as "deodorant masking fishy code" then less comments is better. What would really help are high level documents of IDE internals. Diagrams and textua

Re: [Lazarus] [fpc-pascal] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, silvioprog wrote: On Fri, Apr 8, 2016 at 3:22 PM, Michael Van Canneyt wrote: [...] Graeme has fixed a number of errors that should hopefully solve the problems with codepages; Changes have been tested on windows/linux/bsd but on Windows only with a system that has an en

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Vojtěch Čihák
Hi,   part of reason may be that unsatisfied people are usually very loud while  satisfied are usually calm. Therefore I'd like to say here (loudly) that I was always (and I'm now) happy in Lazarus and FPC community (forum, ML, bugtracker) and developers and other people always helped when I nee

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 5:07 PM, Giuliano Colla wrote: > Because without a minimal amount of documentation all this valuable work > risks to be useless, because: > - nobody except a few core developers know of its existence > - nobody except the developer itself knows how to use it LCL is document

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Michael Thompson
On 9 April 2016 at 22:07, Giuliano Colla wrote: > Because without a minimal amount of documentation all this valuable work > risks to be useless, because: > - nobody except a few core developers know of its existence > - nobody except the developer itself knows how to use it from OpenHub (which

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Giuliano Colla
Il 09/04/2016 14:03, Juha Manninen ha scritto: Why all this valuable work from me and from other developers is ignored? Because without a minimal amount of documentation all this valuable work risks to be useless, because: - nobody except a few core developers know of its existence - nobody e

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread JuuS
On 04/09/2016 12:41 PM, Dennis wrote: > In the past, the same program (written in lazarus ) running in the same > hardware pi 2 under the older raspbian version has NO PROBLEM. > > But the SD Card was corrupted so I installed the latest raspbian OS > jessie on the same Pi 2 on a new SD Card. > I

[Lazarus] Bashing the developers

2016-04-09 Thread Juha Manninen
Regarding posts from Jürgen Hestermann. Unfortunately this is not the first time he finds excuses to blame Lazarus developers. The main theme is that developers have done a poor job and did not serve him well enough. Earlier it was about the new Unicode support. All the work I had done for it was i

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread wkitty42
On 04/09/2016 04:30 AM, Ondrej Pokorny wrote: Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a typo or the library picks up the wrong character for the PDF. It is a typo, so everything is OK. It

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Martin Frb
On 09/04/2016 13:05, Jürgen Hestermann wrote: Am 2016-04-08 um 20:36 schrieb Martin Frb: > On VirtualTreeView: I dont know if the Author is around, and if he could/would answer questions, or even proof read contributed docs. But if he was, then the question "How long do you think would it take

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Michael Thompson
I've just spent some time researching a problem that someone posed on the forum. I'm reminded of how powerful open source is. I had no idea how to answer the question. The wiki, the forum and even Mantis provided a veritable wealth of information before I got to even looking at code documentatio

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 3:05 PM, Jürgen Hestermann wrote: > I just see it is a waste of time if someone is forced to read and > understand code that someone else has written ... Nobody forces you read or understand code! I think you should find another project if this is not good enough for you. I

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Juha Manninen
On Sat, Apr 9, 2016 at 1:20 PM, Giuliano Colla wrote: > An answer such as: "Your patch is good, it adds a desirable functionality, > but without proper documentation, nobody will be able to take advantage of > it. Please add some concise comments on variable and procedure usage, and we > will be g

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Michael Thompson
On 9 April 2016 at 20:38, Jürgen Hestermann wrote: > Am 2016-04-09 um 13:26 schrieb Michael Thompson: > > What? How's that going to work? I prefer my open source projects alive > and kicking :-( > > I'm not interested in theoretical "wouldn't it be nice". I agree that > it would be nice if we

Re: [Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread Michael Thompson
On 9 April 2016 at 18:41, Dennis wrote: > EXCEPT that pressing a key once will gives multiple letters. We've had this before, under Ubuntu from memory. Yup: http://bugs.freepascal.org/view.php?id=23140 (and related) You may find some ideas in there. Mike --

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Jürgen Hestermann
Am 2016-04-09 um 13:26 schrieb Michael Thompson: > What? How's that going to work? I prefer my open source projects alive and kicking :-( > I'm not interested in theoretical "wouldn't it be nice". I agree that it would be nice if we have documentation, and I like putting a plan in place to

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Michael Thompson
Am 2016-04-09 um 12:20 schrieb Giuliano Colla: > An answer such as: "Your patch is good, it adds a desirable functionality, > but without proper documentation, nobody will be able to take advantage of it. > Please add some concise comments on variable and procedure usage, and we > will be glad to c

Re: [Lazarus] [fpc-pascal] PDF generator: please test

2016-04-09 Thread silvioprog
On Fri, Apr 8, 2016 at 3:22 PM, Michael Van Canneyt wrote: [...] > Graeme has fixed a number of errors that should hopefully solve the > problems with > codepages; Changes have been tested on windows/linux/bsd but on Windows > only > with a system that has an english locale. After this update,

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Michael Thompson
On 9 April 2016 at 19:08, Special wrote: > Am 09.04.2016 um 14:05 schrieb Jürgen Hestermann: > >> >> Do not implement any new features until all existing features are >> documented! >> > Agree. What? How's that going to work? I prefer my open source projects alive and kicking :-( I'm not int

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Jürgen Hestermann
Am 2016-04-09 um 12:20 schrieb Giuliano Colla: > An answer such as: "Your patch is good, it adds a desirable functionality, but without proper documentation, nobody will be able to take advantage of it. Please add some concise comments on variable and procedure usage, and we will be glad to co

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Special
Am 09.04.2016 um 14:05 schrieb Jürgen Hestermann: Do not implement any new features until all existing features are documented! Agree. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/list

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Jürgen Hestermann
Am 2016-04-08 um 20:36 schrieb Martin Frb: > On VirtualTreeView: I dont know if the Author is around, and if he could/would answer questions, or even proof read contributed docs. But if he was, then the question "How long do you think would it take to (fully) understand" is just the wrong quest

[Lazarus] 1 keypress gives multiple letters ONLY in program written in Lazarus in raspbian jessie Pi 2

2016-04-09 Thread Dennis
In the past, the same program (written in lazarus ) running in the same hardware pi 2 under the older raspbian version has NO PROBLEM. But the SD Card was corrupted so I installed the latest raspbian OS jessie on the same Pi 2 on a new SD Card. I reinstalled everything (e.g. mysql etc) and my p

Re: [Lazarus] *** GMX Spamverdacht *** Re: Suggestion for TRadioGroup documentation

2016-04-09 Thread Jürgen Hestermann
Am 2016-04-09 um 00:54 schrieb Giuliano Colla: > I'm not an expert in avionics, but from my general knowledge even I could have told them the reason for pumping fuel from one tank to another, which is to balance the weight on the wings (fuel tanks are located on the wings). This function must b

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-09 Thread Giuliano Colla
Il 08/04/2016 21:13, Juha Manninen ha scritto: Welcome to open source. Instead of complaining here and wasting everybody's time, you could have improved the documentation yourself and provide a patch. In principle you're right. However you should take into account some other factors. Frequen

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Лагунов Алексей
This text on russian:"Привет мир!"12:05, 9 апреля 2016 г., Graeme Geldenhuys :On 2016-04-09 09:19, Ondrej Pokorny wrote: You should learn how to use Google Translate :)I use it a lot. The page you link here shows you  the typo explicitely just below the original text...Okay, but clicking on the sec

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
Hi, I'm on my way out, so can't comment on all parts right now. There is still quite a few improvements that need to be made to fpPDF - features and some tweaks to the API. As for WriteText() versus WriteUTF8Text(). These grew from the fact that Standard built-in PDF Fonts were implemented firs

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 09:19, Ondrej Pokorny wrote: > You should learn how to use Google Translate :) I use it a lot. > The page you link here shows you > the typo explicitely just below the original text... Okay, but clicking on the second link below the one you are referring to, and you still get "Hel

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Michael Van Canneyt
On Sat, 9 Apr 2016, Ondrej Pokorny wrote: Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a typo or the library picks up the wrong character for the PDF. It is a typo, so everything is OK.

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 09.04.2016 10:09, Ondrej Pokorny wrote: 4. I cannot make TFPFontCacheItem.TextWidth work. (I was able to make "TextWidth" work, though.) That should read: (I was able to make "*TextHeight*" work, though.) Ondrej -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
Please don't take it as an offence, there is no. I just first opened the PDF, saw the typo and then I had to check in the source code if it is really a typo or the library picks up the wrong character for the PDF. It is a typo, so everything is OK. It would be still great if you corrected it ;)

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
On 08.04.2016 23:34, Graeme Geldenhuys wrote: On 2016-04-08 19:55, Ondrej Pokorny wrote: Btw. you have a typo in the Russian "Hello, word". The first word should be "Здравстуйте". Not according to Google Translate. :) [https://translate.google.com/#auto/en/%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D1%81%

Re: [Lazarus] PDF generator: please test

2016-04-09 Thread Ondrej Pokorny
I started testing. 1. Why does TFPFontCacheItem.GetFontData create and load TTFFileInfo every time it is called? As a result TTFFileInfo is created and loaded every time TextWidth is called - there's no way to go around this. The TTFFileInfo should be cached IMO. Please consider the attached