As you have already noticed - it is not. It may be moved back to noncached container and it will be redrawn every frame.
Another solution is to apply dynamic scaling using shaders - it is already done for lines, so they do not disappear when their width is smaller than 1 px. Regards, Orson On 04/15/2016 04:02 PM, Mário Luzeiro wrote: >> 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 >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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