antialiasing

IE jQuery Opacity Anti-Aliasing Issue

女生的网名这么多〃 提交于 2019-12-01 23:35:09
问题 I am using jQuery to fade in and out a .png images of links on the home page of http://www.logandwight.com In IE7 and IE8 the text have no anti-aliasing and are all boxy. I've tried messing with the opacity settings and then I tried animating the filter property specifically for IE but nothing seems to work. Does anyone know whats wrong? 回答1: This is an inherent problem with IE, transparency, and opacity. Unfortunately there's no good work around while animating...in this situation I just

IE jQuery Opacity Anti-Aliasing Issue

北慕城南 提交于 2019-12-01 21:55:06
I am using jQuery to fade in and out a .png images of links on the home page of http://www.logandwight.com In IE7 and IE8 the text have no anti-aliasing and are all boxy. I've tried messing with the opacity settings and then I tried animating the filter property specifically for IE but nothing seems to work. Does anyone know whats wrong? This is an inherent problem with IE, transparency, and opacity. Unfortunately there's no good work around while animating...in this situation I just disable animations for IE users. Maybe IE9 will finally do something about this? sIFR might be a possible cross

Howto Enable Font Antialiasing in Windows [closed]

心不动则不痛 提交于 2019-12-01 15:00:01
I have downloaded a font that looks less than desirable if it is not anti-aliased. I can not figure out how to enable anti-aliasing in VS, I have changed the 'Smooth Edges of Screen Fonts' in the system performance options but that does not seem to help. VS2008 on XP SP3. What am I missing? Try using ClearType, not Standard font smoothing. It's in Display properties, Appearance, Effects. In Windows 7: Control Panel | Display | Adjust ClearType text This starts a 4-step calibration process. Could it be a problem with the color combination? Some fonts look really ugly on high contrast

Font Anti-Aliasing on iPad SDK

泪湿孤枕 提交于 2019-12-01 12:22:37
I'm using a custom pixel font on the iPad SDK, and I'm trying to find a way to disable font anti-aliasing for UIFont. Pixel fonts usually work best when they don't have Anti-aliasing. I disable it easily in Photoshop when I create static resources, but this time I need a dynamic output with the custom font. Any ideas if this is even possible? Thanks. Something like this might work if you are subclassing a UILabel or similar: -(void) drawRect:(CGRect)r { CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSaveGState( context ); CGContextSetShouldSmoothFonts( context , false ); [super

Font Anti-Aliasing on iPad SDK

非 Y 不嫁゛ 提交于 2019-12-01 11:50:53
问题 I'm using a custom pixel font on the iPad SDK, and I'm trying to find a way to disable font anti-aliasing for UIFont. Pixel fonts usually work best when they don't have Anti-aliasing. I disable it easily in Photoshop when I create static resources, but this time I need a dynamic output with the custom font. Any ideas if this is even possible? Thanks. 回答1: Something like this might work if you are subclassing a UILabel or similar: -(void) drawRect:(CGRect)r { CGContextRef context =

How to get polygon antialiasing to work?

萝らか妹 提交于 2019-12-01 09:28:13
I'm using these function calls: glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE) It doesn't work and won't render. glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) It doesn't anti-alias. Try glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST) This is a mundane answer.. but if you want rounded corners, you'll probably want to use more more vertices at the corners and place them for a more rounded shape. You could also look into doing this procedurally.. but if you're doing a game and you want to get it finish, I'd

How to apply antialiasing to javafx methods like GraphicsContext.fillArc()?

馋奶兔 提交于 2019-12-01 09:09:56
I am new to javafx, and I'm programming a game using its rendering functions, specifically, GraphicsContext.fillArc() and the like in eclipse. This is my current code: BorderPane root = new BorderPane(); Scene scene = new Scene(root, 400, 400); primaryStage.setScene(scene); scene.getStylesheets() .add(getClass().getResource("application.css").toExternalForm()); Canvas canvas = new Canvas(400, 400); root.getChildren().add(canvas); GraphicsContext gc = canvas.getGraphicsContext2D(); new AnimationTimer() { public void handle(long currentNanoTime) { gc.setFill(Color.BLUE); gc.fillArc(150, 150, 100

How to get polygon antialiasing to work?

試著忘記壹切 提交于 2019-12-01 07:01:49
问题 I'm using these function calls: glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE) It doesn't work and won't render. glEnable(GL_BLEND) glEnable(GL_POLYGON_SMOOTH) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) It doesn't anti-alias. 回答1: Try glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST) 回答2: This is a mundane answer.. but if you want rounded corners, you'll probably want to use more more vertices at the corners and place them for a more rounded shape.

OpenGL antialiasing without the accumulation buffer

假装没事ソ 提交于 2019-12-01 06:24:26
On an NVIDIA card I can perform full scene anti-aliasing using the accumulation buffer something like this: if(m_antialias) { glClear(GL_ACCUM_BUFFER_BIT); for(int j = 0; j < antialiasing; j++) { accPerspective(m_camera.FieldOfView(), // Vertical field of view in degrees. aspectratio, // The aspect ratio. 20., // Near clipping 1000., JITTER[antialiasing][j].X(), JITTER[antialiasing][j].Y(), 0.0, 0.0, 1.0); m_camera.gluLookAt(); ActualDraw(); glAccum(GL_ACCUM, float(1.0 / antialiasing)); glDrawBuffer(GL_FRONT); glAccum(GL_RETURN, float(antialiasing) / (j + 1)); glDrawBuffer(GL_BACK); } glAccum

How to apply antialiasing to javafx methods like GraphicsContext.fillArc()?

醉酒当歌 提交于 2019-12-01 06:13:43
问题 I am new to javafx, and I'm programming a game using its rendering functions, specifically, GraphicsContext.fillArc() and the like in eclipse. This is my current code: BorderPane root = new BorderPane(); Scene scene = new Scene(root, 400, 400); primaryStage.setScene(scene); scene.getStylesheets() .add(getClass().getResource("application.css").toExternalForm()); Canvas canvas = new Canvas(400, 400); root.getChildren().add(canvas); GraphicsContext gc = canvas.getGraphicsContext2D(); new