fontstash icon indicating copy to clipboard operation
fontstash copied to clipboard

Light-weight online font texture atlas builder

Results 16 fontstash issues
Sort by recently updated
recently updated
newest added

According to https://www.fontsquirrel.com/fonts/droid-serif the droid fonts are to be distributed under the Apache v2 license.

When calculating the advance in fons__getQuad(), on line 1244: ```c *x += (int)(glyph->xadv / 10.0f + 0.5f); ``` Shouldn't the spacing be added somewhere like it is on line 1203:...

Is there any chance someone could either add an OpenGL 3 version of the example application or tweak the existing one to work with the new header? A naive substitution...

Hi People, please has someone working simple example for android? Or if is someone interested in help then I can create android container for testing with ndk and opengl es...

Hi, I have used a previous fork of font-stash from here: https://github.com/akrinke/Font-Stash/ I used it at the time because it added two useful features we needed (taken from the readme):...

In video games development one often needs to render arbitrary icons/images as part of text (game currency icons, game fractions icons, etc). Rendering them outside of text layout system is...

uses the builtin sdf generation in stb_truetype, disabled when using freetype

I use fontstash to draw a str = @"i:ə:ɔ:u:ɑ:i:ɜ:ɔ:u:ɑ:iɜɔuɑ", the glyph of "ɜ" display wrong. use "PingFangSC-Regular" ![image](https://user-images.githubusercontent.com/12316965/28603038-45df0f68-71f4-11e7-8e6a-ab73783b12a4.png) use "SFUIText-Light" ![image](https://user-images.githubusercontent.com/12316965/28603255-aa032c80-71f5-11e7-9e9d-6b78b1f01a60.png) use "HelveticaNeue" ![image](https://user-images.githubusercontent.com/12316965/28603203-651ead06-71f5-11e7-913a-c0c7667f3d9d.png) addtional, I suggest updating stb_trunetype to...

static int fons__tt_init() { FT_Error ftError; FONS_NOTUSED(context); ---- wrong. ftError = FT_Init_FreeType(&ftLibrary); return ftError == 0; }

why need to xadvance * 10.0f? glyph->xadv = (short)(scale * advance * 10.0f) *x += (int)(glyph->xadv / 10.0f + 0.5f);