~alcinnz/fontconfig-pure

fe82ac9733da3f4588c3a0bbd60af24fdf7429de — Adrian Cochrane 2 years ago f05881e
Catch one FcFontSet segfault.
1 files changed, 1 insertions(+), 1 deletions(-)

M Graphics/Text/Font/Choose/FontSet.hs
M Graphics/Text/Font/Choose/FontSet.hs => Graphics/Text/Font/Choose/FontSet.hs +1 -1
@@ 58,7 58,7 @@ thawFontSet fonts' = do
    then return []
    else do
        list <- peekArray n array
        forM list (thawPattern . throwNull)
        forM list (thawPattern_ . pure)
foreign import ccall "get_fontSet_nfont" get_fontSet_nfont :: FontSet_ -> IO Int
foreign import ccall "get_fontSet_fonts" get_fontSet_fonts :: FontSet_ -> IO (Ptr Pattern_)