Emacs with smaller font size -> Text doesn't align - emacs

I have a problem with Emacs (which is a great editor by the way), when I change the default font size and font, my text doesn't align anymore.
In use it in vhdl-mode, and it is really annoying, that the text doesn't align. In other editor the text-alignment is fine, even though I have modified it in emacs.
Anyone their have a solution to this problem, rather going back to default font and default font-size?

When you changed your font, were you careful to change it to a fixed width font? When you say it looks fine in another editor, is that editor using the same font?
You need to make sure that you use a fixed width (monospace) font in emacs or any other text editor to get text to line up properly. My guess is you picked a proportional font in emacs and you have a fixed width font in the other editor.

Related

In Vscode, how to change the default font size of markdown cell in a jupyter notebook

When I am using jupyter notebook in vscode, I suddenly find the default font size become so small. So how to make the default font size bigger in the markdown cell? I have tried to google how to fix the problem, but I can't find the answer. Looking forward to your reply!
Update:
After I added code< font size=3 > on the first line of each markdown cell, the display became normal. But I think I should not everytime do it because it is a waste of time.
Unfortunately there's no way to do this at the moment. Please upvote https://github.com/microsoft/vscode/issues/126294 which tracks the feature request to allow configuring markdown font sizing.
From https://github.com/microsoft/vscode/issues/126294#issuecomment-964601412
The next insiders build adds a new notebook.markup.fontSize setting
which controls the size of rendered markdown
It defaults to 120% of your editor font size (so 12px editor font size
== 14.4px). We may adjust the default value based on feedback
And see Adjust the font size in notebooks

Is there any way to change the size of icons (vim-devicons) without changing the font-size?

I've installed NERDTree and vim-devicons plugins for customizing my workspace and I find that size of icons is too small, so I wanted to make them bigger without changing font-size (current font-size comfortable for me).
I've tried to find solution on original documentation, read forums etc. Also I tried to find some special Nerd Font that will have bigger icons size but unfortunately everything was unsuccessful.
Link below is an example that shows current size of my icons and font.
example with NERDTree window, tabs and status line
I'm using Windows PowerShell as my terminal and neovim as my editor.
I would be grateful if someone could explain to me how to solve my problem or tell another way (or may be another plugins) to add icons and files tree to vim.
Those icons are just text and you can only have one font and font size for the whole terminal emulator's window. Therefore, you can't adjust their size separately from the rest of the text.

Fonts in Netbeans smaller than desired

My Netbeans 7.4 claims, it uses Courier New 18pt font:
However, when I set my Notepad++ (and any other piece of software on my Windows 7) to the very same typefaces and font size:
Font clearly looks much bigger.
Can someone enlighten me, what am I missing? How can two programs claim that they use the very same font for text display and display that text it two different heights?
Maybe have you unconsciously made zoom. Try Alt + Mouse Wheel or defined there:
https://blogs.oracle.com/geertjan/entry/scroll_in_netbeans_editor_to

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. :)

Letterspacing in Eclipse code editor

Is there any way to change the letter-spacing of text in Eclipse's code editor?
Maybe you can try changing from a fixed width font to the variable width font like Verdana or Tahoma. Window->Preferences->Appearance->Colors and Fonts->Basic->Text Font
If you mean the java code editor in Eclipse this is not possible. The editor is not a word processor. You can only change the font setings (typeface, style, color, size).
If you are referring to this kind of letter spacing, then no, I do not think so.
Not in the sense that a typography system allows you to tweak the appearance of text on a printed page.
The default for me is Courier New Regular 10. You can change the size to 12 or some other size.
Are you trying to change the kerning rules? Kerning is positioning different letters in a variable-width font. For instance in the word "We", the "e" is tucked in a little bit under the "W". The page-layout software that magazine publishers use can control this.
Fonts are opaque to Eclipse; it doesn't give you a way to change the rules within the font. Unfortunately the best you can do is try the different fonts and sizes until you find one that has kerning rules that work, more or less.