Thread overview
GtkD global font size
Jan 14
Sai
Jan 15
Sai
Jan 16
user
January 14
I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.

Is there any way to globally increase the font size in the GtkD?

I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?

Thanks in advance.
-Sai

January 15
On 2018-01-15 00:55, Sai wrote:
> I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.
> 
> Is there any way to globally increase the font size in the GtkD?
> 
> I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?

This is the forum for the DWT library. I suggest you try the "learn" forum instead.

-- 
/Jacob Carlborg
January 15
On Monday, 15 January 2018 at 08:21:16 UTC, Jacob Carlborg wrote:
> On 2018-01-15 00:55, Sai wrote:
>> I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.
>> 
>> Is there any way to globally increase the font size in the GtkD?
>> 
>> I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?
>
> This is the forum for the DWT library. I suggest you try the "learn" forum instead.

Considering the amount of traffic in this forum wouldn't it be better to relabel it as a GUI Forum?

Regards,

-=mike=-
January 15
On Monday, 15 January 2018 at 08:36:38 UTC, Mike James wrote:
> On Monday, 15 January 2018 at 08:21:16 UTC, Jacob Carlborg wrote:
>> On 2018-01-15 00:55, Sai wrote:
>>> I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.
>>> 
>>> Is there any way to globally increase the font size in the GtkD?
>>> 
>>> I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?
>>
>> This is the forum for the DWT library. I suggest you try the "learn" forum instead.
>
> Considering the amount of traffic in this forum wouldn't it be better to relabel it as a GUI Forum?
>
> Regards,
>
> -=mike=-



Yup, that's what I thought, that this forum is not exclusive for DWT anymore, but is available for all Gui libs.

Anyway I did repost my question in GtkD GH issues.






January 15
On 2018-01-15 13:18, Sai wrote:

> Yup, that's what I thought, that this forum is not exclusive for DWT anymore, but is available for all Gui libs.
> 
> Anyway I did repost my question in GtkD GH issues.
For most exposure I recommend the learn forum or, as you did, post to GitHub.

-- 
/Jacob Carlborg
January 16
On Sunday, 14 January 2018 at 23:55:03 UTC, Sai wrote:
> I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.
>
> Is there any way to globally increase the font size in the GtkD?
>
> I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?
>
> Thanks in advance.
> -Sai

Do you running your GtkD app on Windows or Linux?

On Linux, font size may be controlled by gtk3 settings in /etc or by system fontconfig. On windows, you may just focus on settings.ini.

I just developed a GUI app using GTKD very recently, and it works greate, fontsize is also working great in the Chinese language.


January 16
On Monday, 15 January 2018 at 12:18:02 UTC, Sai wrote:
>
> Anyway I did repost my question in GtkD GH issues.

Note also, the GtkD project has its own forum: <https://forum.gtkd.org/>.

January 16
On Tuesday, 16 January 2018 at 08:53:20 UTC, Binghoo Dang wrote:
> On Sunday, 14 January 2018 at 23:55:03 UTC, Sai wrote:
>> I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it.
>>
>> Is there any way to globally increase the font size in the GtkD?
>>
>> I tried the settings.ini file, but that did not help with my GtkD3 app. On the other hand, it did increase the global font size of the Glade tool, just not my application. Is some how GtkD different from pure Gtk application?
>>
>> Thanks in advance.
>> -Sai
>
> Do you running your GtkD app on Windows or Linux?
>
> On Linux, font size may be controlled by gtk3 settings in /etc or by system fontconfig. On windows, you may just focus on settings.ini.
>
> I just developed a GUI app using GTKD very recently, and it works greate, fontsize is also working great in the Chinese language.

I am using windows. I added a lot more info here including screenshots showing the issue, and code to reproduce the issue.

https://github.com/gtkd-developers/GtkD/issues/226