September 28, 2017
On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
> One small thing though - when you use the LCD/BGR style fonts, you get a mismatch between the font metrics and bitmap size.
>
> So if you're using FT_LOAD_TARGET_LCD, then some of these may be true:
>
> glyph.bitmap_left != (glyph.metrics.horiBearingX >> 6);
> glyph.bitmap_top != (glyph.metrics.horiBearingY >> 6);
> glyph.bitmap.width != (glyph.metrics.width >> 6);
> glyph.bitmap.rows != (glyph.metrics.height >> 6);
>
> The result could be a crash, clipping, or misalignment of glyphs, depending on the assumptions made by your blitting code.
>
> I asked about this on the FT mailing list, and unfortunately, they don't believe that the 1 or 2 pixels of padding added to the bitmap to accommodate the LCD rendering belongs in metrics.
>
> The fix is simply using bitmap_left, bitmap_top, bitmap.width, bitmap.height, instead of the metrics.
>
> I was looking at the commits and saw that you added kerning, so was wondering if you hit this problem.

Thank you for advice.
It looks like I faced this problem when one of fonts was selected for UI.
Will fix.
As well, I see wrong monotype fonts character placement not aligned properly.



September 28, 2017
On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin wrote:
> On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
>> One small thing though - when you use the LCD/BGR style fonts, you get a mismatch between the font metrics and bitmap size.

Fixed.

Screenshots:

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png

September 28, 2017
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin wrote:
> On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin wrote:
>> On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
>>> One small thing though - when you use the LCD/BGR style fonts, you get a mismatch between the font metrics and bitmap size.
>
> Fixed.
>
> Screenshots:
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png

Does DLangUI support theming of the scrollbar? Paddings & margins?
September 28, 2017
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin wrote:
> On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin wrote:
>> On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
>>> One small thing though - when you use the LCD/BGR style fonts, you get a mismatch between the font metrics and bitmap size.
>
> Fixed.
>
> Screenshots:
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png
>
> http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png

Can i use svg icons?
September 28, 2017
On Thursday, 28 September 2017 at 11:51:19 UTC, aberba wrote:
> Does DLangUI support theming of the scrollbar? Paddings & margins?

It does. It's possible to change paddings, margins, look&feel of scrollbar buttons and backgrounds.

September 28, 2017
On Thursday, 28 September 2017 at 11:52:51 UTC, aberba wrote:
> Can i use svg icons?

Currently SVG images are not supported.

This feature is planned for one of future releases.

Workaround: you can provide PNG icons for different screen DPI.

September 29, 2017
On Wednesday, 27 September 2017 at 12:34:33 UTC, Dmitry wrote:
> On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni wrote:
[...]
>> The IDE should contain the compiler for convenience
> No.

I think that including DMD & Co. into DlangIde is not the right approach,
but offering one D-NOW download package including everything needed to get started DMD, DUB, IDE etc. seams interesting.
Especially adding a collection of short D examples:
Maybe those from the website homepage + examples D-Lang Tour + some of Adams arsd.


So you start one installation and in the end you have a bunch of small valuable programs to play around.



Regards mt.
September 29, 2017
On Friday, 29 September 2017 at 07:18:42 UTC, Martin Tschierschke wrote:
> On Wednesday, 27 September 2017 at 12:34:33 UTC, Dmitry wrote:
>> On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni wrote:
> [...]
>>> The IDE should contain the compiler for convenience
>> No.
>
> I think that including DMD & Co. into DlangIde is not the right approach,
> but offering one D-NOW download package including everything needed to get started DMD, DUB, IDE etc. seams interesting.
> Especially adding a collection of short D examples:
> Maybe those from the website homepage + examples D-Lang Tour + some of Adams arsd.
>
>
> So you start one installation and in the end you have a bunch of small valuable programs to play around.
>
>
>
> Regards mt.

I don't get it. Install dlangide, install DMD (which comes with dub). What's the difficulty in this? If you want to debug, asm, etc. then you should have enough knowledge such that getting a debugger etc. is not a big deal.

Nodejs doesn't have any if that and its core packages are much worst than D's (except HTTP). But we use it cus its got packages for everything s beginners want to do. code.dlang.org

We wanna get the job done.
September 29, 2017
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin wrote:
> [...]
> Fixed.

Awesome, looks perfect now.

   Thanks!
October 02, 2017
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin wrote:
> [...]

Is C++ integration on the roadmap?

My main project has a platform abstraction layer for graphics, and libraries for which no bindings are available, so I use Visual D right now, which lets me simply drag all my C++ sources right into a D library project. The downside of course being that Visual D only works on windows.