diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-01-21 16:49:14 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-01-21 16:49:14 +0000 |
commit | b23f55c81bca21de7841111ace809df0f6408d65 (patch) | |
tree | 2c7490c6936d7c68d1974aae1ec669f1a48e5abd /frontends/atari/plot/font_freetype.c | |
parent | e96bf013394c0dd06cb25e666e8c68d22c12a318 (diff) | |
download | netsurf-b23f55c81bca21de7841111ace809df0f6408d65.tar.gz netsurf-b23f55c81bca21de7841111ace809df0f6408d65.tar.bz2 |
fix warnings and errors in atari frontend
Diffstat (limited to 'frontends/atari/plot/font_freetype.c')
-rw-r--r-- | frontends/atari/plot/font_freetype.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/atari/plot/font_freetype.c b/frontends/atari/plot/font_freetype.c index 8b535e3a3..17d3c3bfd 100644 --- a/frontends/atari/plot/font_freetype.c +++ b/frontends/atari/plot/font_freetype.c @@ -262,13 +262,14 @@ static FT_Glyph ft_getglyph(const plot_font_style_t *fstyle, uint32_t ucs4) FT_UInt glyph_index; FTC_ScalerRec srec; FT_Glyph glyph; - FT_Error error; + //FT_Error error; ftc_faceid_t *ft_face; ft_fill_scalar(fstyle, &srec); ft_face = (ftc_faceid_t *)srec.face_id; glyph_index = FTC_CMapCache_Lookup(ft_cmap_cache, srec.face_id, ft_face->cidx, ucs4); - error = FTC_ImageCache_LookupScaler(ft_image_cache, + //error = + FTC_ImageCache_LookupScaler(ft_image_cache, &srec, FT_LOAD_RENDER | FT_LOAD_FORCE_AUTOHINT | |