UI Text not rendering properly with Intellij IDEA and MacType - intellij-idea

I wanted to make Intellij IDEA on windows look like the one on OS X Because in
my opinion it looks much better, so I installed MacType, I was able to get the
editor font render correctly, but when I change the UI font to match OS X's UI
font, The text gets cut off in some places. The font I am trying to use is
Lucida Grande size 15. You can see it for yourself in the picture
below:
Intellij UI Text getting cut: https://i.stack.imgur.com/4jnda.png
But if I remove disable MacType rendering, everything works fine, but it looks bad.
Intellij UI Text without MacType rendering: https://i.stack.imgur.com/AJEUl.png
I've tried changing MacType's settings, but nothing works!
I am on Windows 10 Creators Update with Intellij IDEA 2017.2
Any help would be appreciated.

I found the answer myself! Apparently if you open the mactype profile you are using with notepad, and paste the following text at the end of the file:
[Experimental#idea64.exe]
ClipBoxFix=1
Then all the fonts will render correctly. Note, this does not only work for Intellij IDEA, but also all other java applications and a few others. To achieve this, all you have to do is replace "idea64.exe" with the name of the app executable. An example is for the 32-bit version of Intellij, you would replace "idea64.exe" with "idea.exe".
More information can be found here: https://github.com/snowie2000/mactype/wiki/ClipBoxFix

Related

Text Colors in VSC Editor and Terminal - Atom One Theme

Why does VSC (Intellisense?) not recognize certain functions/variables in the Python environment? (see the underlined text in the attached photo). It's working fine for C (using C/C++ extension), otherwise. I am using the Atom One theme and for the C environment every word/command seems to have some color. I tried reinstalling the extensions and going through the settings the best I could, but I can't figure it out.
As a side question, why do I get colored paths in Terminal on my Windows machine (see bottom part of the attached picture), but not on my Mac? Is there some default setting for this that's activated only on Windows? I am a fan of it and I'd like to get my Mac showing some colors too.
Mac:
Regarding the terminal text colors, I found the solution here: Color theme for VS Code integrated terminal.
And here, for more detailed info: https://code.visualstudio.com/api/references/theme-color
As far as variable colors changes for Python, this was useful: Make VSCode Variables have Colour

IntelliJ text looks HUGE after update to 2019.2

I updated IntelliJ to 2019.2 this morning. After the update, all the fonts (actually, fonts and widgets) on the window look absolutely HUGE (even the splashscreen is much bigger when it starts). Main window has the look (in terms of the size of widgets) as being in presentation mode, more or less.
I tried decreasing the size of the fonts in Settings -> Appearance & Behavior - > Appearance (set it to 8) and in Settings -> Font (also set to 8). And the font in the text editor now is back to almost usable (still a little bigger that I'd like) and the menu text as well.... but everything else still looks too big (buttons, tabs, text on the tabs that are on the left side)... so, it's CRAZY. How can I get it back to normal?
I'm on ubuntu 19.04 (actually running KDE) and using OpenJDK.
PS I just downloaded 2019.1 and tried starting it. It looks normal, the way I expect it to. I'm downloading 2019.2 now and let's see what happens what I start it (not from the updated IDE directory).
Just checked starting 2019.2. It looks the way it looked when I started from the updated one. Will stick to using 2019.1 for the time being.
Please refer to the HiDPI configuration document, there were some changes in handling HiDPI on Linux with the move to JetBrains Runtime 11.
It may help if you switch to the IDE-managed HiDPI mode (legacy mode) by adding
-Dsun.java2d.uiScale.enabled=false
in Help | Edit Custom VM Options and restarting the IDE.

Intellij 15 XHTML color scheme

I just recently upgraded from intellij 14 to intellij 15 and i exported all the settings from old IDE. Everything works fine except color scheme for xhtml files. Once I open the file it displays same color scheme as in old one but after few seconds it changes.
Here is the image of color scheme from old inteli j or the new before it changes:
And here from the new one:
Am I missing some setting?
There's an option, that Overrides your style with one pure color. Was a long search for me. Finally found the problem at:
Settings > Editor > Colors&Fonts> JSP> Action and directive content
Just delete foreground, background and inherited and it's fine.
Well, for me that happens only in my custom color theme, even though I haven't tweaked anything HTML or JSF related. It's working when I changed back to the default Darcula theme. Might be a bug in IntelliJ IDEA.

Why is the font in the new IntelliJ IDEA 14.1 not rendering properly?

I've just upgraded IntelliJ IDEA (ultimate) to Version 14.1 and the font used in the Project View, Menus and Dialogs seems not to be rendering correctly. I exported the same settings from my 14.0.3 version just in case, although they seem identical, but it still remained the same. I didn't do any changes to the JDK or anything, and if I run the old version the font changes back to the nice and crisp one. I am using Ubuntu 14.04. This problem does not happen on Windows 7.
Under IntelliJ IDEA 14.0.3:
Under IntelliJ IDEA 14.1:
In the new one the font seems to be a bit larger (even though in both cases I they are set to Font Size 22, and I imported the settings from the previous IntelliJ IDEA installation). Notice how for example the 'g' is cut off underneath. There are also other problems where the text is misaligned on the buttons, or not fully visible in dialog boxes.
Usually this doesn't happen when I upgrade. Is there some way to make the font look like before? Did something changed in this latest version and I need to do some JVM switch in the startup script or something?
Update: 5/11/2015
Just updated to IntelliJ 15, and the problem is still there.
Attached new screenshot. Notice how the text is cut out at the bottom where there are letters like p and y, and the button text is offset.
Seconding an earlier response to this question, I have also have had great luck fixing font rendering issues on IntelliJ using tuxjdk. Tuxjdk is a JDK for the IDE, while any applications you're coding on runs in their own project configured JDK such as Oracle or OpenJDK. Here are the instructions:
The following fetches, unpacks, and moves the version you need to /usr/lib, then cleans up the archive. Modify /usr/lib to wherever you like to keep your JDKs.
wget http://urshulyak.com:85/jdk-8u5-tuxjdk-b08.tar.gz
tar -zxvf jdk-8u5-tuxjdk-b08.tar.gz
sudo mv jdk-8u5-tuxjdk-b08 /usr/lib
rm jdk-8u5-tuxjdk-b08.tar.gz
Open up idea.sh in your IntelliJ application folder /idea-IU-141.*/bin. Change the following line at the bottom of the script from
LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JDK/bin/java" \
to
LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "/usr/lib/jdk-8u5-tuxjdk-b08/bin/java" \
That's it. This made huge font improvements for me in Ubuntu 14.04.
UPDATE (by OP)
This solution is the best so far (until JetBrains decide to fix it properly).
I would just add the line: IDEA_JDK="/usr/lib/jdk-8u25-tuxjdk/" to the top of idea.sh, which the script checks before resorting to JDK_HOME etc. (so is probably the recommended way) rather than messing with the LD_LIBRARY_PATH.
In my case I got nicely rendered but huge fonts with this solution. In order to fix it I had to do an extra fix from Appearance & Behaviour -> Appearance
I chose the 'not recommended' option to Override default fonts by Arial size 12. This was the best effect I got so far.
I am using OSX. It may not help.
Double tap shift and search for 'Switch IDE boot JDK'. Try different JDKs if there are.
This might not be the answer you are looking for - but ever since I've started using tuxjdk, I haven't had problems any more with font rendering & intellij on ubuntu. Maybe give it a try?
If you're willing to use the IntelliJ 15 EAP, there is an option for antialiasing (default is checked for me) that appears to match how it was rendered in 14. The option is under Appearance & Behavior -> Appearance:
I have tried all of the command-line arguments to try to get this behavior in 14.1, but was unsuccessful.

Can't paste fontawesome icons into photoshop

Not sure why, but some of the icons on the fontawesome cheatsheet can't be pasted into photoshop for use in mock-ups. I've installed the otf font.
cheatsheet is here
http://fortawesome.github.io/Font-Awesome/cheatsheet/
I can't paste this icon fa-plus-square-o #xf196;
I have a screenshot of what it looks like in photoshop but I can't post it because I don't have enough reputation on this site...
It won't let me change the font from Myriad to fontawesome, very strange because it works for other icons and I've been using it for a while and never had this problem...
I don't know why it's not working for you... I tried to copy and it works perfectly. Maybe you have an old version of the font. Try to reinstall it, and then copy the icon.
I'm a German user and had the same problem from one day to the other. In the past everything worked fine.
After a long searching in the web I went to settings => text. Here I unchecked "Show names in English language". Now it works. Maybe an installation of a Photoshop Elements action could have caused the problem. I dont'n know.
Before I found this solution I installed the most recent icon font file and started windows again. This did not help.
My suggestion: Play with the settings.
Bit late... but just in case it helps anyone else who runs into the same issues.
I ran into the issue earlier and couldn't figure out why it wasn't working as expected. Similar to one of the other answers, I think it was due to me having an older version that didn't include the icons I was trying to use. I downloaded the latest file, updated it, rebooted Photoshop and that's done the trick for me.