Working Label zooming

I don’t know if can be of use, but I struggled a few hours on it, then there.

To have the text of a Label Component in an Object appears correctly (no bluring when zoom in, no oversaturating when zoom out), here what I did :

Download a font.
Create a New Font object

  • Font : The font of the file you want (for me, Roboto-Bold.ttf).
  • Material : /builtins/fonts/label-df.material.
  • Output Format : Distance Field.
  • Size : 48 (since there is a lot of zoom. I will try 64 at some point. There is a LOT of labels on the map).
  • Antialias : Unclicked, but I’m not sure it have any effect (granted, I have very bad eyes).
  • All Chars : Clicked (because French local).

Create a label :

  • Scale : I put 0.33 to give it the size I want (around 16 pixels)
  • Font : I choose the *.font object I just created
  • Material : label. (label-df blur, & label-fnt make it red for… reasons. Maybe some mask)

Works for me.

1 Like