[Lazarus] TIBConnection + LCLNoGui + FreeBSD

Alexander Klenin klenin at gmail.com
Tue May 24 12:20:20 CEST 2011


On Tue, May 24, 2011 at 20:45, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On 24/05/2011 09:27, Mattias Gaertner wrote:
>> Of course the LCL fails here, because it is not used here, but the
>> freetype unit.
>
> I did not mean it as trolling, but rather as an idea for improved
> cross-platform support. I believe I mentioned this font issue with
> Lazarus some years ago, when we still used LCL in our applications
> (around v0.9.18 I think). Nothing about this problem has since been changed.
>
> LCL does not warn the developer that if they pick a font in the Form
> Designer (say under Windows), that that font will probably not exist
> under Linux or Mac or FreeBSD. So that part of LCL is really not
> cross-platform at all! Luckily freetype will try and pick a similar
> alternative font - but with no guarantees that it will look good.
>
> I was simply suggesting a solution - using what I have done in fpGUI as
> an example of one such solution. I did not mean it any other way.
>
> LCL is developed and promoted as a cross-platform framework, so surely
> that should translate to the Font usage too?

While what you say may be a good idea,
note that the discussion you responded to was about the failure when
trying to NOT use the LCL, so your implication of "LCL fails here" is misplaced.

-- 
Alexander S. Klenin




More information about the Lazarus mailing list