Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » How to change the font type and size in 4DIAC editors?
How to change the font type and size in 4DIAC editors? [message #1803484] Fri, 01 March 2019 13:54 Go to next message
Lik Lik is currently offline Lik LikFriend
Messages: 27
Registered: February 2017
Location: Russia
Junior Member
I can't change the font type and size in 4DIAC editors in Windows. Is it possible?
4DIAC editors use only system Windows font type and size.
It is not comfortable. In addition, the system "Windows 10" font type and size is not so easy to change.
Re: How to change the font type and size in 4DIAC editors? [message #1803505 is a reply to message #1803484] Fri, 01 March 2019 18:44 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 880
Registered: January 2014
Senior Member
AFAIK we don't use hard coded fonts in 4diac. Therefore it should be possible to adjust all fonts used via the Help->Preferences dialog. There are two places to look. The first is General -> Appearance -> Colors and Fonts the second one is StructuredText -> Syntax Coloring There you can adjust the font for the Structured Text editor. I hope this helps
Re: How to change the font type and size in 4DIAC editors? [message #1803546 is a reply to message #1803505] Mon, 04 March 2019 05:40 Go to previous messageGo to next message
Lik Lik is currently offline Lik LikFriend
Messages: 27
Registered: February 2017
Location: Russia
Junior Member
>The first is General -> Appearance -> Colors and Fonts
Unfortunately, I can't change the font type and size in 4DIAC editors in Windows via this way.
Re: How to change the font type and size in 4DIAC editors? [message #1803577 is a reply to message #1803546] Mon, 04 March 2019 21:01 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 880
Registered: January 2014
Senior Member
I did some experiments by myself. It looks like that per default there is no setting from the fonts in our graphical editors. This is rather annoying.
Re: How to change the font type and size in 4DIAC editors? [message #1803607 is a reply to message #1803577] Tue, 05 March 2019 10:37 Go to previous messageGo to next message
Lik Lik is currently offline Lik LikFriend
Messages: 27
Registered: February 2017
Location: Russia
Junior Member
Exactly. For this reason, the scheme looks different on different computers with different windows theme settings (rather because different system fonts).
For example:
System font - Tahoma 8 - Original version (3Screenshot_3.png)
index.php/fa/35011/0/

System font - Segoe UI 9 - On other computer (2Screenshot_3.png)
index.php/fa/35010/0/


Re: How to change the font type and size in 4DIAC editors? [message #1803629 is a reply to message #1803607] Tue, 05 March 2019 17:52 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 880
Registered: January 2014
Senior Member
Jep that is definitely a problem. I think the reason is not on the fonts but in another place. IEC 61499-2 clearly defines the coordinate system and sizes relative to the font sizes. We took a shortcut here. Making the diagram font setable would be a first step towards correctly drawing the diagrams on different screens and resolutions.
Re: How to change the font type and size in 4DIAC editors? [message #1804439 is a reply to message #1803484] Tue, 26 March 2019 07:45 Go to previous messageGo to next message
Michael Miller is currently offline Michael MillerFriend
Messages: 1
Registered: March 2019
Junior Member
Open Simplicity IDE. Press Ctrl+3. Search for font Select Colors and Fonts. Many fonts inherit from the default font specified under the Basic category. To change text font commonly used in editors, select Basic Text Font Click Edit Change the font, font style, and size as desired and click OK prepaidgiftbalance.

[Updated on: Tue, 30 April 2019 09:05]

Report message to a moderator

Re: How to change the font type and size in 4DIAC editors? [message #1804494 is a reply to message #1804439] Wed, 27 March 2019 06:02 Go to previous messageGo to next message
Lik Lik is currently offline Lik LikFriend
Messages: 27
Registered: February 2017
Location: Russia
Junior Member
Quote:
>The first is General -> Appearance -> Colors and Fonts
Unfortunately, I can't change the font type and size in 4DIAC editors in Windows via this way.
Re: How to change the font type and size in 4DIAC editors? [message #1804497 is a reply to message #1804494] Wed, 27 March 2019 07:55 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 880
Registered: January 2014
Senior Member
I also tried several of the settings here and also come to the same conclusion as Lik Lik. I think there some work from our side is needed. Thanks for creating the bug entry [1]. I'll try to look into it into the next weeks.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=545727
Re: How to change the font type and size in 4DIAC editors? [message #1805356 is a reply to message #1804497] Fri, 12 April 2019 13:32 Go to previous messageGo to next message
Lik Lik is currently offline Lik LikFriend
Messages: 27
Registered: February 2017
Location: Russia
Junior Member
A temporary solution is to use the font SegoeUI 9pt. This font looks the same in Win7, 8, 10 and it will be correctly drawing the diagrams on different screens and resolutions.
Besides, in win10 you only need to reduce the size of the system font (but through the regedit) without replacement the font.
Re: How to change the font type and size in 4DIAC editors? [message #1805822 is a reply to message #1805356] Wed, 24 April 2019 20:08 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 880
Registered: January 2014
Senior Member
We just merged a fix which should improve the correct look based on different fonts. See Bug 546635 [1] for details. If you upgrade your 4diac IDE to the nightly build (should be available tomorrow). I'm also working on making the font adjustable but I think this will take a bit more time.

Any suggestions what a good platform independent default font would be? Should it be a monospace font? Please put any comments to the bug for that issue [2].

Cheers,
Alois

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=546635
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=545727
Previous Topic:Error when complie the forte in ubuntu
Next Topic:Lego Ports couldn't be read
Goto Forum:
  


Current Time: Fri Sep 20 03:49:09 GMT 2019

Powered by FUDForum. Page generated in 0.02488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top