← Back to team overview

kicad-developers team mailing list archive

Re: Bitmap fonts

 

You're all more skilled, I just found the following:

https://github.com/behdad/glyphy (it seems an interesting
implementation for OpenGL ES. It seems OpenGL 3.x+ allows other
advantages)

Use of low polygon fonts:
https://github.com/stolk/dutch-blunt

2016-04-15 16:02 GMT+02:00 Mário Luzeiro <mrluzeiro@xxxxx>:
>> 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@xxxxxxxxxxxxxxxxxxx; maciej.suminski@xxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References