|
From: | Behdad Esfahbod |
Subject: | Re: [ft-devel] Freetype 2.8 bitmap font no linear advance |
Date: | Tue, 22 Aug 2017 13:36:09 -0700 |
On the font 'c:/windows/fonts/c8514fix.fon' This is basically the code I used...FT_Library library;FT_Face face;int error;error = FT_Init_FreeType( &library );error = FT_New_Face( &library, 'c:/windows/fonts/c8514fix.fon' , 0, &face );error = FT_Load_Glyph( &face, 53 , 0 );face.glyph->linearHoriAdvance is 0.face->glyph->advance.x is 640 or (10 << 6 )I had basically standardized on using linearHoriAdvance but it isn't working for bitmap fonts... should it?
_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype- devel
[Prev in Thread] | Current Thread | [Next in Thread] |