Re: [ft-devel] Freetype fails to build

2018-08-31 Thread armin
> El divendres, 31 d’agost de 2018, a les 22:39:44 CEST, Albert Astals Cid va > escriure: >> /src/freetype2/src/base/ftobjs.c:365:7: error: non-void function >> 'ft_glyphslot_preset_bitmap' should return a value [-Wreturn-type] >> return; > > I guess it's my fault for compiling with

Re: [ft-devel] Freetype fails to build

2018-08-31 Thread Albert Astals Cid
El divendres, 31 d’agost de 2018, a les 22:39:44 CEST, Albert Astals Cid va escriure: > /src/freetype2/src/base/ftobjs.c:365:7: error: non-void function > 'ft_glyphslot_preset_bitmap' should return a value [-Wreturn-type] > return; I guess it's my fault for compiling with -Werror, but i

[ft-devel] Freetype fails to build

2018-08-31 Thread Albert Astals Cid
/src/freetype2/src/base/ftobjs.c:365:7: error: non-void function 'ft_glyphslot_preset_bitmap' should return a value [-Wreturn-type] return; Can anyone fix it? Cheers, Albert ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread Alexei Podtelezhnikov
> I have no idea. This interface exists without changes since > 16 years... We simply cannot assume that nobody uses it. Oh well, it is 3.0 material then. There is only one email that announces the interface it was never discussed. Again, I was only suggesting to tweak it only because it seems

Re: [ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread Werner LEMBERG
>> ??? FT_Renderer_GetCBoxFunc *is* documented and implemented. > > It only says that it is "a method used to access the glyph's cbox." > Its arguments are not described. I wish it was the same as > FT_Renderer_RenderFunc, as if it "renders" only bitmap dimesions, > which is a sort of cbox.

Re: [ft-devel] Documentation guidelines file

2018-08-31 Thread Werner LEMBERG
>> Ah, this is a slight issue I'm not happy yet in the docs. I think >> this should rather be >> >> /** ... >>* ... >>* @description: >>* Uses `a` to meep `b`. >>* ... >>*/ >> >> In general, `@foo' should also use a typewriter face if it links to >> C stuff like

Re: [ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread Alexei Podtelezhnikov
> ??? FT_Renderer_GetCBoxFunc *is* documented and implemented. It only says that it is "a method used to access the glyph's cbox." Its arguments are not described. I wish it was the same as FT_Renderer_RenderFunc, as if it "renders" only bitmap dimesions, which is a sort of cbox. FreeType wants

Re: [ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread Werner LEMBERG
> I am thinking about breaking this function into pieces associated > with different renderers. I am thinking of using > FT_Renderer_GetCBoxFunc for that. Notice that it is neither > documented nor actively used internally. ??? FT_Renderer_GetCBoxFunc *is* documented and implemented. > I

Re: [ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread Alexei Podtelezhnikov
> return; > ^ > Introduced in `1dacbd893d3c2f027b5c79f504d8899a68112c0c'. > > I assume, it should be `return 0'? Thanks. I will fix that. I am thinking about breaking this function into pieces associated with different renderers. I am thinking of using FT_Renderer_GetCBoxFunc for

[ft-devel] `ft_glyphslot_preset_bitmap' breaks the build atm

2018-08-31 Thread armin
In file included from /home/cherusker/FreeType/cherusker-freetype2-testing/external/freetype2/src/ base/ftbase.c:32: /home/cherusker/FreeType/cherusker-freetype2-testing/external/freetype2/src/ base/ftobjs.c:365:7: error: non-void function 'ft_glyphslot_preset_bitmap' should return a value