> Question: Is the text rendered every draw frame?

No :/ I found / experiment it on the source code.

________________________________________
From: Mário Luzeiro
Sent: 15 April 2016 13:01
To: kicad-developers@lists.launchpad.net; maciej.sumin...@cern.ch
Subject: RE: [Kicad-developers] Bitmap fonts

Here is the result of my test (attached)

Question: Is the text rendered every draw frame?

If yes:
My suggestion was to clamp to a max size (in order to render the text 1:1 on 
relation to the font pixel size in the texture) and to a minimum (or not 
display it.. )
See the too_big.png issue.
I think as this is informative text it can be render dynamically and doesn't 
not matter the exactly position / scale.

mipmap_spacing_issue.png:
I notice for some zoom levels that there are "blur margin" effects issues.
I believe it may be fixed if you increase the spacing of the chars in the 
texture. (So you may need to decrease the font size to keep the same texture 
size)

Mario

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to