Boxes in the place of white spaces in the java console - textbox

console When I try to run my program, it appears mini boxes in the place of white spaces.
Anyone knows how to solve this problem?
Thank you

Related

1024x768 resolution with nearest neighbor scaling

I'm using Arch Linux with Cinnamon and a 4K or rather UHD screen (3840x2160) and would like to use a 1024x768 resolution with black bars on
the left and right side and nearest neighbor scaling instead of bilinear filtering which is the default for all monitors that I've ever seen.
There's ways to kind of get this to work by actually running 3840x2160 but rendering a 1024x768 and scaling it up.
This can be done with xrandr or nvidia-settings.
I also managed to get some black bars going.
So what worked best for me so far was this command:
nvidia-settings -a CurrentMetaMode="DP-2: 3840x2160_60 {ViewPortIn=1024x768, ViewPortOut=2880x2160+480+0, ResamplingMethod=Nearest}"
This gives me the crisp upscaling and black bars.
There's one problem though: The right side of the screen is "cut off".
Which means when I maximize windows it acts as if I was still using a 16:9 resolution, rendering the right part of let's say a browser not accessible.
In games that scroll by putting the mouse at the edge of the screen it makes this not work for the right side, while working on the left, top and bottom.
Does anyone know about this problem or has a better solution?
I'm open to anything, like for example using some WINE settings to pull this off or something. Since this is mainly for playing old games a completely different approach with WINE would be totally fine to solve the problem.
I've already tried all kinds of things over the last few days. At this point I would jump into the air if somebody knows of a way to get this to work.

Stage3D iOS Antialiasing on AIR 24

With AIR 24 release we are able to set anti aliasing on Stage3D now, but there are some issues with it. Can anybody help how to use it in right way without changing entire project code ?
The issue I have is that anti alias works great, and no more jagged edges, but there are rendering issues and I guess some texture normals are being inverted, also when using Occlusion Material there are some jagged material shadows...
Next thing I notice is when drawing Wireframe Globe with Lines Segments - the lines are visible on the globe all the time, no matter if you add some object in front or not.
So, intersecting line segments with other materials don't work at all, and lines are on the screen forever.
Please, help if you find any trick fixing the issues.
Thanks
Just to add some more information: the issue seems to happen when shareContext = true. Without Starling there is antialiasing and the lineSegments are rendered at the current depth. It would be interesting to see if it works with other sharedContext besides Starling to isolate the issue. If I find an answer I will come back and post it. It would be nice to get this working. Any idea the performance hit on mobile of having a second instance of away3d? Layering that way might be a dirty work around.
*****EDIT****
AntiAliasing on the line Segments only occurs with sharedContext. View3D class does not seem to have it's antiAlias value set anywhere and when I forced it to a value of 2, all hell broke loose.
Edit#2
Mesh appears above line segments, Sprite3D do not.

Tesseract symbols recognising issue

I have downloaded already made project for this link and with given image it works perfect, but when I try change this image by adding my words, it seems recognise not very well as I expected. Especially "i" and "l" symbols etc.
Anybody know how to make this library better or maybe can suggest another one?
the recognised text:
httpV/stackoverflowmom/queslions/ask/
the image:
Alos if for example text is white and background is blue it return nothing.

Problem with TdxComponentPrinter (Delphi)

TdxComponentPrinter is a componenet that allow me print a TPanel on a paper. But there is problem and when the panel contains TImage, the background of the image will be converted to black in the paper.
Before print :
After print (on the paper) :
I have tried different ways to solve this problem. for example i used Repaint; method of TPanel,...
but doesn't work and the background of image is still black. I don't know why!!!
Help me please.
This is a png file, which might not be supported completely in your Delphi version. Did you try to change it to a TcxImage which might be more compatible with the DevExpress printing system?
It also might be worth it to submit this issue to DevExpress if you can't fix it. They reply really quick and know more about their components then all of use here on SO :-)
If it is already a jpg then you should improve the quality of the jpg. It looks like the black parts are compression artifacts where there is a mix between white and another color. If you clean up the background of the image with a paint program it will probably look a lot better.

Any way to change colour of the Code Insight red 'underline' in Delphi2007 IDE?

I hope the question says it all, really. I use the old Turbo Pascal type colours (navy blue background and white, yellow text etc) in all my Delphi IDEs, including D2007. I'm sufficiently colourblind that I can't really make out the red squiggly lines in my code - but I find the feature really useful when I do notice them.
I've tried switching to a much lighter background but it doesn't feel right - I've been using the classic background in Borland/Inprise/Borland/Codegear/Embarcadero products since about '91. :-)
Does anyone know of any slight-of-hand that would get the colour of that red line changed (white or yellow would be great)?
EDIT: Okay, further to this then - although I can't move most of my existing stuff to D2009 just yet, is this an option I CAN set in D2009?
EDIT : Seems like it can't be done, in 2007 or 2009. Let's hope it gets picked up for the next version. Bob S's link to the qc document for it can be used to help persuade Embarcadero - I opened that case last year when I first struggled to find a solution for this. In the interests of marking something as an answer, I'll tick Bob's reply.
In the meantime, I think I'm going to have to change my background colour to something that I can see the red against. Oh well. :-)
No, but you can vote here:
http://qc.embarcadero.com/wc/qcmain.aspx?d=61780

Resources