~alcinnz/harfbuzz-pure

0ab0042c920132249d2e677fc1bfa918993b9416 — Adrian Cochrane 1 year, 2 months ago 519746d
Don't cache results of main function unless processed (neglected in previous commit).
1 files changed, 1 insertions(+), 1 deletions(-)

M Data/Text/Glyphize.hs
M Data/Text/Glyphize.hs => Data/Text/Glyphize.hs +1 -1
@@ 55,7 55,7 @@ shape font buffer features = unsafePerformIO $ withBuffer buffer $ \buffer' -> d
        hb_shape font' buffer' features' $ toEnum len
    infos <- glyphInfos buffer'
    pos <- glyphsPos buffer'
    return $ zip infos pos
    return $ noCache zip infos pos
foreign import ccall "hb_shape" hb_shape :: Font_ -> Buffer' -> Ptr Feature -> Word -> IO ()

-- | Fills in unset segment properties based on buffer unicode contents.