problematic Moire pattern in image produced with gnuplot pm3d and pdf output

This is not supposed to be a solution, but rather an explanation and a possible, although ugly workaround. From time to time there are reports to the gnuplot mailinglists about this issue, but it seems to be related to the viewers. It has to do with the way gnuplot creates the surfaces plots. These are … Read more

OpenGL ES iPhone – drawing anti aliased lines

One can achieve the effect of anti aliasing very cheaply using vertices with opacity 0. Here’s an image example to explain: Comparison with AA: You can read a paper about this here: http://research.microsoft.com/en-us/um/people/hoppe/overdraw.pdf You could do something along this way: // Colors is a pointer to unsigned bytes (4 per color). // Should alternate in … Read more

@font-face anti-aliasing on windows and mac

I too have been plagued with this on Chrome and I think I’ve just found the answer! Chrome didn’t like the default fontsquirrel.com generated CSS. @font-face { font-family: ‘HLC’; src: url(‘/_styles/hlc/hl-webfont.eot’); src: url(‘/_styles/hlc/hl-webfont.eot?#iefix’) format(’embedded-opentype’), url(‘/_styles/hlc/hl-webfont.woff’) format(‘woff’), url(‘/_styles/hlc/hl-webfont.ttf’) format(‘truetype’), url(‘/_styles/hlc/hl-webfont.svg#HLC’) format(‘svg’); font-weight: normal; font-style: normal; } To fix, i moved the SVG line: url(‘/_styles/hlc/hl-webfont.svg#HLC’) format(‘svg’) to … Read more

Any quick and dirty anti-aliasing techniques for a rotated UIImageView?

The edges of CoreAnimation layers aren’t antialiased by default on iOS. However, there is a key that you can set in Info.plist that enables antialiasing of the edges: UIViewEdgeAntialiasing. https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html If you don’t want the performance overhead of enabling this option, a work-around is to add a 1px transparent border around the edge of the … Read more

3D CSS transform, jagged edges in Firefox

Edited answer: (after comments) “Workaround”, add a transparent outline attribute: outline: 1px solid transparent; Tested on Firefox 10.0.2 Windows 7: http://jsfiddle.net/nKhr8/ Original answer: (background-color dependent) “Workaround”, add a border attribute with the same color of your background (white this case): border: 1px solid white; Tested on Firefox 10.0.2 Windows 7: http://jsfiddle.net/LPEfC/