> 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
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
/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
> 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
>> ??? 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.
>> 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
> ??? 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
> 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
> 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
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
10 matches
Mail list logo