Skip to content

Commit ae38ace

Browse files
godunkosetton
andcommitted
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Nicolas Setton <[email protected]>
1 parent 949c223 commit ae38ace

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pango-cairo.ads

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ package Pango.Cairo is
3838
-- of Layout will be drawn at the current point of the cairo context.
3939

4040
procedure Set_Default_Font_Type (Font_Type : Standard.Cairo.Cairo_Font_Type);
41-
-- Sets default fontmap backend.
41+
-- Sets the default fontmap used by default. This can be used to
42+
-- change the Cairo font backend that the default fontmap uses,
43+
-- for example. The old default font map is unreffed.
44+
-- Note that since Pango 1.32.6, the default fontmap is per-thread.
45+
-- This function only changes the default fontmap for the current thread.
46+
-- Default fontmaps of existing threads are not changed. Default fontmaps
47+
-- of any new threads will still be created using the default mechanism.
4248

4349
end Pango.Cairo;

0 commit comments

Comments
 (0)