Menu ▾ ▴

#1 Invalid implementation of New_Toy_Font_Face

open
None
5
2011-01-09
2011-01-09
No

Bug signalled by Dmitry. A.K with this proposed solution:
Cairo.Font_Face.Toy:
function New_Toy_Font_Face
(Family : String;
Slant : Cairo_Font_Slant;
Weight : Cairo_Font_Weight)
return Cairo_Font_Face_Handle
is
begin
return To_Handle
(cairo_toy_font_face_create (To_C (Family),
Slant,
Weight),
Is_Referenced => True);
end New_Toy_Font_Face;
Cairo.Support:
function cairo_toy_font_face_create (Family : Interfaces.C.char_array;
Slant : Cairo.Cairo_Font_Slant; Weight : Cairo.Cairo_Font_Weight) return
Font_Face_Ptr;

Discussion


Log in to post a comment.