Camera Zoom vs. Viewport Zoom in text crispness

Godot Version

4.3.stable

Question

While my font works perfectly fine with “Project settings > viewport > scale”, it looks blurry when I use “Camera Zoom”.

I thought camera zoom supposed to the same thing. Please see the pictures.

  • Font is OTF,
  • Stretch mode doesn’t change the results
  • I tried reimporting the font with MSDF but it just made it pixelated. See the final screenshot. When I tried the highest MSDF Size/Pixel Range. It looked better but still not crisp.

Viewport Scale

Zoom Scale

MSDF and MSDF with highest settings:


Any ideas how I can fix that? Is the font need to be designed in MSDF? I don’t really grasp MSDF thing fully, but clearly Godot is capable of rendering this because it does render correctly and crisply when scale viewport

I don’t know if someone else tells me this is the wrong solution, but here is the workaround I found: Cranking up “oversampling” fixed the problem. I used 10 for the best effect not sure if there is any adverse affect, documentation states In most cases, this should be left at 0.0. but yeah it works :slight_smile:

This only works when imported when dynamically rendered import template.

I think it’s still very slightly worse than viewport zoom’s results but unnoticable.