I have a GTK3 application with buttons which contain a transparent image over a coloured background, when I compile it on a Linux Mint machine I get a perfectly normal "flat" image, but when I compile it on a Raspberry Pi (in Raspbian OS) I get buttons that have a weird white highlight effect on the image.
All I can guess is that the default GTK theme on Raspbian includes some sort of shadow effect that is being applied to the button images but I don't know which one & hence how to override it.
I've dug through the GTK theme/CSS docs but can't find anything obvious that would be applying this effect to an image. I've also poked about in the system(s) for GTK themes/gtk CSS files but there's loads of them, so I'm hoping someone can help me narrow this down to a particular tag/style I can apply to my buttons/widgets/window to make it look right all the time.
Image 1: normal "flat" image:
Image 2: weird fringe highlight / shadow effect on image:
Well after some mucking about with GTK_DEBUG=interactive ./my_app I found it was caused by this setting in the default Raspbian theme:
*{-gtk-icon-shadow:none;}
That one-liner in my application's overall window CSS has fixed it.
I have a pixelated font in one of my projects (like the one in the link down below) but Windows renders it blurry which is annoying because we want a pixelated font for this project. The issue is that all the developers on the project is using Mac so its hard for us to trying to play around with it to see if its possible to make it less blurry.
So my question is if there is someone out there with a Windows computer that could take a look at the link below and see if you can make it somewhat less blurry?
https://fj7o67.csb.app/
It looks like the font you are using is not working well with font weight.
Add this:
h1,h2 {font-weight:normal;}
I can't for the life of me figure out why the same font that I build using gulp-iconfont renders so wildly different on Windows vs. basically all other OSes, including mobile OSes. I've tested practically all of them through Browserstack, and consistently all browser running on Windows render the font with a massive amount of space above/below each icon while all other platforms render as expected.
I highlighted the elements using the inspector for the following screenshots:
Windows:
macOS:
I think I have narrowed it down to be the font rendering, as when I change the font-family in the css, the spacing around the characters evaporates. I have messed around with the gulp-iconfont options (fontHeight is set to 1024 and font is being normalized) without success.
Is my only option to let go of compiling my own iconfont and just using svg's, or does anyone know what I might be doing wrong? I feel the stench of defeat upon me so any faint scent of hope would make me simmer with joy.
This is not a question about changing the font size in graphs produced using RStudio. I already know how to do that.
I use RStudio under Linux on a MacBook Pro with a 'retina' display. I use KDE as my window manager. I can (and do) enlarge the default font size in the user interface of other programs in KDE. I increase the font size for the user interface in Firefox and Thunderbird using program specific tools.
How do I increase the font size in the user interface - not the console, which is easy [Options -> Appearance -> font size], but, for example, the help text, the keyboard shortcuts list, and so on. At the moment I find these very hard to read. I've fiddled with everything I can fiddle with, but had no joy.
All help gratefully appreciated!
As some people pointed out, by clicking the ctrl & + together, you can enlarge the font size for everything including for the console & code script. (You will have to do it with a help page pop up as suggested by user3619015.) Then go to the global option and resize the fonts. That changes the font size for everything except the help page. So you will have larger fonts for the help page but everything else in your normal preferred font size.
On a Mac you can do it by going to: view -> actual size or just with the key combo: cmd+= (not cmd++) to zoom in (bigger), cmd+- or zoom out or cmd+0 (zero) to go back to the actual size.
Rstudio doesn't support changing fonts yet, at least for Linux server. However, one can change fonts in browser for a specific page. At least in chrome, you can customize fonts using an extension called font changer. I think it is packed with all GNU free fonts for legal issues. But, since you have the font files in the OS, like consolas, you can practically change to whatever font and size you like. Just play with it.
I had the same problem here using a MacBook Pro although not with KDE, but you could try on the menu of RStudio:
View -> Actual size
After a couple of days struggling to read the help, this worked: increased the size of letters in all windows of RStudio.
Help, Files, Packages can be opened in a new browser window where zoom in and out options are possible. Even a selected specific package can be opened in a new window for clear view
While this is quite an old question, you can now also change your font size under Linux like that:
Tools -> Global Options... -> Appearance -> Editor font size
Here's how I got around the problem:
Simply copy and paste into your word processor or text editor. Text will be pasted in the default text.
I'm using Windows 8.1, Office 2013 and R 64 bit. Not optimal but it works.
My Xcode has suddenly began to display unreadable text in the source editor. No other apps are affected. It is most notable with white/bright-colored text on a black background but it occurs in every theme.
The text looks like the the background is bleeding through the foreground text characters. It doesn't really look like "the jaggies" that you used to see with bitmapped fonts.
Here is s side by side comparison between Xcode and the terminal using the same orange on black theme, at the same font of Menlo 12. Even in the reduced resolution screen shot, the difference is obvious. On screen, the terminal text display is crisp and easily readable while the Xcode text is barely readable and, as a practical matter, useless.
I don't know when the problem may have started because I haven't been working in Xcode recently. The only change is that I added a second monitor to my dev box but removing the monitor did not resolve the problem.
I tried using the com.apple.dt.Xcode defaults to set the anti-aliasing of Xcode to 24 point but that too had no effect.
I'm stumped. My next step will be to reinstall Xcode but I was hoping someone else may have hit this problem before and has a neater resolution.
A reinstall of Xcode resolved the issue. Haven't the foggiest why.
Update:
This answer over at Ask Different might be relevant as well.