Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
poohbear

Small scaling font blurry

Recommended Posts

Hello,

 

When I try to scale with a small amount (between 1.0 and 1.09) the font really becomes blurry.

I have tried looking for a solution, but none of them work.

 

Examples: 

 

  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-filter: blur(0);
TweenMax.set('#button', {rotation:0.01, transformStyle:"preserve-3d"});

 

In my codepen you can see a example (viewed in Google Chrome).

See the Pen qvqEEr by anon (@anon) on CodePen

Link to post
Share on other sites

Hi and welcome to the GreenSock forums,

 

Thanks for the demo. Its a bit confusing as the thing that says "click me please" doesn't have a click event attached to it. For other people testing this: You have to click on the red thing that says scale.

 

Regardless, this seems to purely be a browser rendering issue. If you just use css to set the scale like 

 

transform: scaleX(1.03) scaleY(1.03);

 

You get the exact same results. There really is nothing GSAP can do about that. There are only so many pixels available for anti-aliasing (smoothing) and scaling to 3 hundreths is such an insignificant amount of change that its kind of understandable that fidelity could be lost.

 

Perhaps someone else has some ideas for getting it crisper. Its not really my area of expertise.

 

  • Like 3
Link to post
Share on other sites
1 hour ago, Carl said:

Hi and welcome to the GreenSock forums,

 

Thanks for the demo. Its a bit confusing as the thing that says "click me please" doesn't have a click event attached to it. For other people testing this: You have to click on the red thing that says scale.

 

Regardless, this seems to purely be a browser rendering issue. If you just use css to set the scale like 

 


transform: scaleX(1.03) scaleY(1.03);

 

You get the exact same results. There really is nothing GSAP can do about that. There are only so many pixels available for anti-aliasing (smoothing) and scaling to 3 hundreths is such an insignificant amount of change that its kind of understandable that fidelity could be lost.

 

Perhaps someone else has some ideas for getting it crisper. Its not really my area of expertise.

 

Hi Carl, thanks for reply. I thought it would be something like that.

 

Thanks for confirming :).

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×