How can I make my font size consistent with textures

Godot Version

Godot 4.2.2

Question

I have made an 8x6 font and I am trying to add it to my game. However when I import the font and set it to size 8, the size of the font and textures are inconsistent, among other problems. Is there a way to get the font to be the same size as the other textures. I have tried this with other people’s pixel fonts and this is not just a me problem. I’m sorry if this is obvious, I’m new to godot. (I have snap to pixel on btw)
Screenshot 2024-08-02 001106
This is an example of what the text looks like at size 8 next to a 32x32 sprite.

What are your Stretch settings in Project > Project Settings > General > Display > Window? It can help to change Mode and/or Aspect to fix the fonts.

I switched the stretch mode from canvas items to viewport, and it fixed the issue! thanks for thanks help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.