susia77 / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

CFX_Font::LoadFile() calls FT_Set_Pixel_Sizes() with zero width #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There's an interesting difference between CFX_Font::LoadFile(IFX_FileRead* 
pFile):

    FXFT_Set_Pixel_Sizes(m_Face, 0, 64);

and FT_LoadFont(FX_LPBYTE pData, int size):

    error = FXFT_Set_Pixel_Sizes(face, 64, 64);

I guess LoadFile() should also pass 64 for the width.

Original issue reported on code.google.com by eb.mat...@gmail.com on 6 Aug 2014 at 8:53