[Lazarus] FCL-PDF change

Ondrej Pokorny lazarus at kluug.net
Fri Dec 9 16:36:42 CET 2016

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 RUNERRORTOEXCEPT(201, 0x5ca84a, 0x79cf5c8) at 
#2 HANDLEERRORADDRFRAME(201, 0x5ca84a, 0x79cf5c8) at ..\inc\system.inc:1144
#3 HANDLEERRORADDRFRAMEIND(201, 0x5ca84a, 0x79cf5c8) at 
#4 fpc_rangeerror at ..\inc\system.inc:755
*#5 BUILDCMAPTABLE(0x6790260) at 
#6 SAVETOSTREAM(0x6790260, 0x7b061c0) at 
#7 GENERATESUBSETFONT(0x682d7a8) at 
#8 CREATEFONTENTRIES(0x68351d0) at 
#9 SAVETOSTREAM(0x68351d0, 0x7ad5ed8) at 

the idDelta array looks like (from GDB): Len=29: (-31,   -42, -43,   
-45,   -48,   ...)
-> as you see all values are negative and you are passing them to a 
UInt16 parameter, which results in range error.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161209/6ef66a71/attachment.html>

More information about the Lazarus mailing list