freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Freetype 2.8 bitmap font no linear advance


From: J Decker
Subject: [ft-devel] Freetype 2.8 bitmap font no linear advance
Date: Tue, 22 Aug 2017 11:55:19 -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?

Attachment: c8514fix.fon
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]