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 | |
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')
-rw-r--r-- | frontends/atari/plot/font_freetype.c | 5 | ||||
-rw-r--r-- | frontends/atari/plot/font_internal.c | 2 |
2 files changed, 4 insertions, 3 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 | diff --git a/frontends/atari/plot/font_internal.c b/frontends/atari/plot/font_internal.c index 6a811e38b..3575bc3e1 100644 --- a/frontends/atari/plot/font_internal.c +++ b/frontends/atari/plot/font_internal.c @@ -161,7 +161,7 @@ static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t * fstyle,const static void draw_glyph1(FONT_PLOTTER self, GRECT *inloc, uint8_t *chrp, int pitch, uint32_t colour ) { size_t bmpstride; - GRECT clip; + //GRECT clip; uint32_t * fontdata; int xloop,yloop; int stride = pitch / 8; |