[Lazarus] TCDListbox implemented?

2017-10-17 Thread Alexey via Lazarus
I see not implemented, CustomDrawn demo don't show it. ...Why you cannot 
take ATListbox and make CDListbox on its base?


--
Regards,
Alexey

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Rendering Issue Emoji for HTML List Items

2017-10-17 Thread Martok via Lazarus
Am 17.10.2017 um 08:36 schrieb R0b0t1 via Lazarus:
> Thank you for clarifying - I wasn't sure if the OP was also talking
> about an issue with the code editor.
Neither was I - now I know it's not something that can be fixed on LCL/FPC side,
so that's that. Guess there's a reason why browser vendors use third party text
renderers...

It was theoretically possible that this codepoint triggers some sort of corner
case in UTF8 processing (why would it matter if a character is the first or
second in a string?), but it appears everything is fine and windows just does
windows things.

Thank you for clearing that up!

-- 
Regards,
Martok

Ceterum censeo b32079 esse sanandam.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Rendering Issue Emoji for HTML List Items

2017-10-17 Thread R0b0t1 via Lazarus
On Tue, Oct 17, 2017 at 1:00 AM, Sven Barth via Lazarus
 wrote:
> Am 17.10.2017 07:19 schrieb "R0b0t1 via Lazarus"
> :
>>
>> On Mon, Oct 16, 2017 at 2:48 PM, Juha Manninen via Lazarus
>>  wrote:
>> > On Mon, Oct 16, 2017 at 8:56 PM, R0b0t1 via Lazarus
>> >  wrote:
>> >>
>> >> Is it not possible to bundle supported resources in the LCL? That seems
>> >> like the typical solution for Windows. On other OSes this is less
>> >> proper,
>> >> but I have still seen it done.
>> >
>> >
>> > Excuse me?
>> > How could LCL bundle the fonts used by your OS?
>> >
>>
>> It is not necessary to rely on only the system font collection, even
>> when using WinAPI forms:
>>
>> https://msdn.microsoft.com/en-us/library/system.drawing.text.privatefontcollection.aspx.
>> Something similar is done in C++.
>>
>> Admittedly there does seem to be some confusion about whether you can
>> make certain UI objects (non-GDI+, specifically) take on face of these
>> fonts, but I suspect you can, as it seems that there is a common
>> underlying graphics system that the old APIs use. Even if not it would
>> be possible to distribute an open font with Lazarus/the LCL and
>> install it when Lazarus/the LCL is installed.
>
> If anything that should be part of the application's setup, not of the
> application itself nor of the LCL.
>

Thank you for clarifying - I wasn't sure if the OP was also talking
about an issue with the code editor. However, I think inclusion of
fonts in the LCL might make sense if it is found that system fonts are
lacking for popular platforms.

The LCL is (to my knowledge) linked in to applications generated with
Lazarus and never installed separately. Some toolkits for other
languages, installed separately, ship with (optional) resource files.
Compiling in the resources to every program which uses the LCL is a
bit different, but the same principle.

R0b0t1.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Rendering Issue Emoji for HTML List Items

2017-10-17 Thread Sven Barth via Lazarus
Am 17.10.2017 07:19 schrieb "R0b0t1 via Lazarus" <
lazarus@lists.lazarus-ide.org>:
>
> On Mon, Oct 16, 2017 at 2:48 PM, Juha Manninen via Lazarus
>  wrote:
> > On Mon, Oct 16, 2017 at 8:56 PM, R0b0t1 via Lazarus
> >  wrote:
> >>
> >> Is it not possible to bundle supported resources in the LCL? That seems
> >> like the typical solution for Windows. On other OSes this is less
proper,
> >> but I have still seen it done.
> >
> >
> > Excuse me?
> > How could LCL bundle the fonts used by your OS?
> >
>
> It is not necessary to rely on only the system font collection, even
> when using WinAPI forms:
>
https://msdn.microsoft.com/en-us/library/system.drawing.text.privatefontcollection.aspx
.
> Something similar is done in C++.
>
> Admittedly there does seem to be some confusion about whether you can
> make certain UI objects (non-GDI+, specifically) take on face of these
> fonts, but I suspect you can, as it seems that there is a common
> underlying graphics system that the old APIs use. Even if not it would
> be possible to distribute an open font with Lazarus/the LCL and
> install it when Lazarus/the LCL is installed.

If anything that should be part of the application's setup, not of the
application itself nor of the LCL.

Regards
Sven
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus