BGRABitmap 11.0 compilation fail lazarus / 39-Graphics ---------------------------------------------------------------------- JD · 2020-06-02 13:51 Hi there everyone, Trying to compile the latest BGRABitmap 11.0 gives me the following error: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Compile package BGRABitmapPack 11.0: Exit code 1, Errors: 1, Warnings: 2bgrafreetype.pas(220,3) Warning: Function result variable does not seem to be initializedbgrafreetype.pas(718,36) Warning: Local variable "ofsX" does not seem to be initializedbgrafreetype.pas(900,18) Error: identifier idents no member "CharKerning"  Any ideas how to solve this problem? Cheers, JD ---------------------------------------------------------------------- esvignolo · 2020-06-02 14:20 Hi JD I have the sale issue, and i make a provisional change in bgrafreetype.pas: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function TFreeTypeTypeWriter.ComputeKerning(AIdLeft, AIdRight: string): single;{$IFDEF LAZFREETYPE_PROVIDE_KERNING}   for Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$IFNDEF LAZFREETYPE_PROVIDE_KERNING}  Is not the best, but use another conditional and compiles ---------------------------------------------------------------------- circular · 2020-06-02 20:08 Hello JD, CharKerning has been added to trunk. So it checks against the version of Lazarus that it is >= 2.0.9. Which version of Lazarus do you have? ---------------------------------------------------------------------- JD · 2020-06-02 21:41 Quote from: circular on June 02, 2020, 10:08:51 pmHello JD, CharKerning has been added to trunk. So it checks against the version of Lazarus that it is >= 2.0.9. Which version of Lazarus do you have? 2.1 ---------------------------------------------------------------------- circular · 2020-06-03 09:23 So that would be trunk version? Can you update it to current trunk? ---------------------------------------------------------------------- circular · 2020-06-03 15:18 BugsBeGone suggests to check againts version 2.1.0 as that is the trunk version: https://github.com/bgrabitmap/bgrabitmap/issues/112 ---------------------------------------------------------------------- JD · 2020-06-03 21:06 Quote from: circular on June 03, 2020, 11:23:02 amSo that would be trunk version? Can you update it to current trunk? I guess so. I would not want to update to current trunk because I don't want to mess up my major projects. ---------------------------------------------------------------------- circular · 2020-06-04 13:00 Ok so to fix compilation, change the version test at the top of BGRAFreeType to: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$IF laz_fullversion >= 2020000}So that it will be active only in next release version. Regards