Re: [Lazarus] FCL-PDF change

2016-12-13 Thread Graeme Geldenhuys via Lazarus
On 2016-12-09 17:29, Ondrej Pokorny via Lazarus wrote: > It looks like international characters make problems as well: > http://mantis.freepascal.org/view.php?id=31092 Range Check errors, endless loop and broken international character issues have been resolved. I've updated the bug report, and c

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 18:01, Graeme Geldenhuys via Lazarus wrote: On 2016-12-09 15:36, Ondrej Pokorny via Lazarus wrote: I have a runtime exception, though (the relevant line is in #5): #0 fpc_raiseexception(0xc9, 0x5ca84a, 0x79cf5c8) at ..\inc\except.inc:158 #1 RUNERRORTOEXCEPT(201, 0x5ca84a, 0x79cf5c

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Graeme Geldenhuys via Lazarus
On 2016-12-09 15:36, Ondrej Pokorny via Lazarus wrote: > I have a runtime exception, though (the relevant line is in #5): > > #0 fpc_raiseexception(0xc9, 0x5ca84a, 0x79cf5c8) at ..\inc\except.inc:158 > #1 RUNERRORTOEXCEPT(201, 0x5ca84a, 0x79cf5c8) at > ..\objpas\sysutils\sysutils.inc:441 > #2 HAN

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 17:19, Graeme Geldenhuys via Lazarus wrote: On 2016-12-09 16:16, Graeme Geldenhuys via Lazarus wrote: No errors or warnings were given. Same result with FPC 3.0.0 under 64-bit Linux (CentOS 6). Good, await a test project from me :) (Anyway, so that I don't look like a pain in t

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Graeme Geldenhuys via Lazarus
On 2016-12-09 16:16, Graeme Geldenhuys via Lazarus wrote: > No errors or warnings were given. Same result with FPC 3.0.0 under 64-bit Linux (CentOS 6). Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-id

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Graeme Geldenhuys via Lazarus
On 2016-12-09 16:02, Ondrej Pokorny via Lazarus wrote: > But for the start to > me it looks like you didn't test the package with range checks on and > overflow checks on. Interestingly, I just enabled Range Checking and Overflows on, clearer all *.ppu files and rebuilt the code. The output is b

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 17:06, Michael Van Canneyt via Lazarus wrote: On Fri, 9 Dec 2016, Ondrej Pokorny via Lazarus wrote: On 09.12.2016 16:59, Graeme Geldenhuys via Lazarus wrote: Can you tell us which font you are using, and maybe also what text you were trying to write to the PDF? Yes, that inf

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 16:59, Graeme Geldenhuys via Lazarus wrote: Can you tell us which font you are using, and maybe also what text you were trying to write to the PDF? Yes, that information would be very useful. If you can even supply the TTF font version number, that would be helpful too. If it r

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Michael Van Canneyt via Lazarus
On Fri, 9 Dec 2016, Ondrej Pokorny via Lazarus wrote: On 09.12.2016 16:59, Graeme Geldenhuys via Lazarus wrote: Can you tell us which font you are using, and maybe also what text you were trying to write to the PDF? Yes, that information would be very useful. If you can even supply the TTF

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Graeme Geldenhuys via Lazarus
On 2016-12-09 15:41, Michael Van Canneyt via Lazarus wrote: > > Hmh. Graeme Geldenhuys will have to pull his hair again. We'll have > to pass around the hat to pay for a wig... :-D Yeah, I already look like Kojak [*] (damn, that's giving away my age too). > Can you tell us which font you are u

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Michael Van Canneyt via Lazarus
On Fri, 9 Dec 2016, Ondrej Pokorny via Lazarus wrote: On 09.12.2016 15:28, Michael Van Canneyt via Lazarus wrote: I forgot (again) to commit a file, fixed. Sorry. No problem. Now it compiles, thanks! I have a runtime exception, though (the relevant line is in #5): #0 fpc_raiseexception(0x

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 15:28, Michael Van Canneyt via Lazarus wrote: I forgot (again) to commit a file, fixed. Sorry. No problem. Now it compiles, thanks! I have a runtime exception, though (the relevant line is in #5): #0 fpc_raiseexception(0xc9, 0x5ca84a, 0x79cf5c8) at ..\inc\except.inc:158 #1 RUNER

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Michael Van Canneyt via Lazarus
On Fri, 9 Dec 2016, Ondrej Pokorny via Lazarus wrote: On 09.12.2016 14:19, Michael Van Canneyt via Lazarus wrote: I've pushed an update to SVN for fcl-pdf. The code can now do a partial embedding of a TTF font: just the characters used in the PDF will be embedded. This results in a much sm

Re: [Lazarus] FCL-PDF change

2016-12-09 Thread Ondrej Pokorny via Lazarus
On 09.12.2016 14:19, Michael Van Canneyt via Lazarus wrote: I've pushed an update to SVN for fcl-pdf. The code can now do a partial embedding of a TTF font: just the characters used in the PDF will be embedded. This results in a much smaller PDF file. This is great news! But I have a problem

[Lazarus] FCL-PDF change

2016-12-09 Thread Michael Van Canneyt via Lazarus
Hello, I've pushed an update to SVN for fcl-pdf. The code can now do a partial embedding of a TTF font: just the characters used in the PDF will be embedded. This results in a much smaller PDF file. Michael. -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] fcl-pdf change

2016-11-03 Thread Graeme Geldenhuys via Lazarus
On 2016-11-03 11:26, Tony Whyman via Lazarus wrote: > Does this affect the Power PDF package or is this entirely independent? PowerPDF is an entirely different project. FCL-PDF is a PDF engine included as standard with FPC 3.0.2 onwards. Regards, Graeme -- fpGUI Toolkit - a cross-platform G

Re: [Lazarus] fcl-pdf change

2016-11-03 Thread Tony Whyman via Lazarus
Does this affect the Power PDF package or is this entirely independent? On 03/11/16 08:47, Michael Van Canneyt via Lazarus wrote: For those using the fcl-pdf package: There has been a change in the API. Well, there were many additions, but this change may influence existing code. --

[Lazarus] fcl-pdf change

2016-11-03 Thread Michael Van Canneyt via Lazarus
Hello, For those using the fcl-pdf package: There has been a change in the API. Well, there were many additions, but this change may influence existing code. Till now, the origin of the page was at the (top,left) corner of the page, contrary to the PDF standard which has the origin at the (bott