Underscore not showing in Dymola - modelica

I am using Dymola 2021 and 2021X, the underscore doesn't show in any models. I tried to reinstall Dymola and adjust the setting option of the text editor, but the problem still exists.
My questions are:
Is this some kind of bug in the new version?
If not a bug, how to fix this issue?

You can start Dymola with a different font as follows (as described in the full manual on page 495, "Developing a model|Tools>options|General group settings|Base font size")
"C:\Program Files\Dymola 2021x\bin\Dymola.exe" –fixedfont
"Lucida Console"
or some other font than "Lucida Console" - I hope you have some that works; there's also plain -font for the non-fixed width font.
As far as I see this setting isn't stored anywhere so you will have to make a short-cut to Dymola and use that every time.

I have never seen this behavior before and it works just fine for all installations I have seen.
It seems you have changed some fonts, maybe on operating system level, could you change these back? Default is sans-serif for menus (see screenshot), you use a font with serifs.
Also, a line length of 50 is very questionable, the default 80 is a reasonable MINIMUM.
Can you try and reset all Dymola settings, like this:

Related

Change size of whitespace tab arrow character in VS Code

I am currently setting up VS Code on a new computer and want to maintain all the same configuration, addons etc that I had on my previous computer. I was able to copy all of the settings, fonts, themes I like, etc; however for some reason I can't figure out how to change the size of the Tab arrow character for whitespace.
In my old editor, the Tab arrow spanned two spaces, whereas on my new computer, the tab arrow only spans one space.
I've been looking all over, and tried googling any variation of "change tab character size", "modify tab arrow span" etc that I could think of. I seem to remember changing the arrow size at some years ago, which is how I got it in my old editor, but I've totally forgotten, and can't find the setting anywhere, neither searching in the VS Code settings, nor on google like I mentioned; the only things that turn up are for changing tab indent size from 2, to 4 spaces etc.
Here are some screenshots of what I mean, from the new VS Code editor and from the one on my older computer:
Current tab arrow size in VS Code:
Old tab arrows size (what I want in my new editor):
This is driving me crazy, and I'm sure it's a simple setting somewhere that I'm missing. Any help would be appreciated!
Edit: In case it is relevant, I'm using JetBrains Mono as my font, and its the same version of the font as from my old computer as well, I copied it over and installed it on the new PC.
To my shock, the issue resolved itself after rebooting my PC. Once again it would seem that the tried and true "have you tried turning it off and on again" continues to ring true in many cases.
The only explanation I can think of is that perhaps some of the font symbols for whitespace characters weren't fully updated for some reason after installing the JetBrains Mono font, which I had installed earlier the same day, and after rebooting my PC I guess all the characters were fully updated/refreshed, and now the longer arrow is displayed for the tabs; I guess this also means that there is no arrow resizing per se, and the arrow symbol for the tab is simply the font symbol.
In any case, I figured I should write this update as an answer in case something like this happens to anyone else in the future.

Oracle SQL Developer hides last character

I'm using the latest version of Oracle SQL Developer. I just couldn't figure why it is hiding last character please see picture.
Version 18.2.0.183
Build 183.1748
error Pic-2
Try changing to a different font family or size. This problem most likely affects just a particular font configuration.
This can be done by accessing Preferences > Code Editor > Fonts menu.
I finally figured it out! This has been happening to me for the past several months - agony! This may sound weird but here's what I did; I verified it again and it worked again.
Goto Preferences > Code Editor > Fonts
Turn off "Display Only Fixed Width Fonts
Then select Wide Latin font
Select ok.
Then go back and select Verdana (may work to select a different one but at this point I'm not messing around anymore with it).
This was not necessarily my first choice however it was the only way I was able to select a font I could live with.
At the point of turning off the fixed width fonts and selecting something different, that didn't seem to fix the issue. It was only until I selected the Wide Latin and then the Verdana that it seems to have fixed the issue.
good luck.

How to increase font size/font family of NetBeans IDE? (not the text editor's font)

I'm having a problem with NetBeans fonts on my computer which for some reason are getting distorted. I decided to open this question because all searches I made ended up on how to change the fonts of the text editor but not of the IDE itself. As you can see on this printscreen, it is kinda hard to read because of this missing parts of the characters. I was having exactly the same problem with burp suite then I increase the font-size (didn't found a option there to change font-family) and it solved a little bit. I think that if I change these configurations it will be easier for me to read. Thanks in advance.
The solution came from http://wiki.netbeans.org/FaqFontSize
There's 2 options to do:
Run netbeans with the additional --fontsize X parameter from the commandline
Edit the netbeans.conf file located in the %NETBEANS_INSTALLATION_DIRECTORY\etc directory and at the part that says netbeans_default_options=.... append --fontsize X (Be sure that the option -J-Dsun.java2d.dpiaware is set to true. Netbeans will ignore the --fontsize instruction if is false).
This should change the default GTK font size. As noted in the link, it may not work in Gnome desktop environments because the font there is controlled by Gnome.
The netbeans.conf file for 10.x seems to have a slightly different syntax than previous versions.
In 8.2, adding "--fontsize x" worked. I couldn't get it to work in 10.0.
But adding "--fontsize x" to the start cmd works fine and doesn't compromise the font crispness when using a HD screen.

Change default font in netbeans?

Is it possible to change the default font in netbeans? The documentation says:
The font Monospaced is maped to different fonts on different systems.
On Windows it is mapped to "Courier ", on Linux it is mapped to
"Lucida Typewriter".
http://ui.netbeans.org/docs/ui/editor_fonts_colors/Editor_fonts_and_colors.htm
I'm on windows and want to map Monospaced font to 'Consolas' instead of 'Courier'.
P.S. I know that fonts can easily be changed from options, but when I change it in this way, I can no longer use unicode characters. Guess I need to do what they call 'mapping' the monospaced font to other font.
Tools > Options > Fonts and Colors
Set the category "Default", and to the right of that, the font you want to use.
If this does not fix it, try adding:
--laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
or
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal
to the file : netbeans.conf. You can find it in $NETBEANS_HOME/etc/ folder. Make your application font smaller from system preferences.
To change the font size outside of the editor you can configure by editing the Net Beans conf file, you can find it here:
C:\Program Files\NetBeans 8.0.2\etc\netbeans.conf
Then edit this line:
netbeans_default_options="..."
by adding this at the end:
--fontsize 18
I hope it helps :-)
Life becomes more easier now. Just from Tools menu choose Options and then follow steps on the following screen shot and take care with step 3 and 4 which they are making the default font for all languages:
I have a NetBeans plugin called 'UI-Editor' which allows you to customize virtually any Swing property, including font sizes, colors, and types. Go to Tools->Plugins and search for 'UI-Editor' or go here: http://plugins.netbeans.org/plugin/55618/?show=true
also don't not forget to change the font to the one that support Arabic like Arial for example i am not sure of some one mention that i just tried it
As far as I can tell there's no way to do this. jEdit (http://jedit.org) also uses Swing and DOES do font substitution for all fonts - there's a "automatic font substitution" checkbox in Global Options > Text Area, along with a list of preferred fonts. But jEdit is otherwise not as capable as Netbeans.

Letterspacing in GNU Emacs

I'm using GNU Emacs on 64bit Ubuntu. Monaco font works well, except the gap between each letter is too wide, thus causing each line of codes to spread too widely. I thought maybe it was a problem with the font, but then Ubuntu terminal was capable of handling the exactly same font with a narrower horizontal margin.
Is there any method I can try to adjust the horizontal linespacing in Emacs?
Have you checked that Emacs and terminal really display the font differently? In your screenshot, the font size itself in Emacs is bigger.
Anyways, you can choose different spacing values when setting a font by appending them to the font name, e.g. "Monaco-10:spacing=110". Try if you can get the behaviour you want this way.
EDIT: Maybe the second paragraph of my answer should be disregarded. I basically guessed this based on the output of describe-font, but further experiments with it didn't yield satisfying results.
Try:
M-x customize-face
At the prompt enter "default"
I adjust the font-width from medium to condensed and see if that helps.
Otherwise you might just try a different font. SHIFT + Mouse-1 should bring up a menu where you can change the default font from Courier.
I suffer the same problem, but then I googled into this post:
http://www.gringod.com/2006/11/01/new-version-of-monaco-font/
it definitely solves my issue.
The fix is rather simple, download the linux version of Monaco font and everything would be fine. :)