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) *
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
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
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
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
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
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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
--
__
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
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
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
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
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
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
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
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
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
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
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 :=
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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,
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
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
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
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
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
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
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
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
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
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
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.
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
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 ;)
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%
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
85 matches
Mail list logo