• Jan-Marek Glogowski's avatar
    Rely on the font instance of the glyph · 7b0f2ee4
    Jan-Marek Glogowski yazdı
    The FreetypeFont might already have released the font instance of
    the glyph, but the glyphs font instance must still be valid, so
    use this instead to cache glyph bound rect.
    
    For whatever reason the Windows compiler doesn't accept inline
    functions in the GlyphItem struct and wants to export them in
    the DLL, even when declared VCL_DLLPRIVATE, so this just uses
    static inlines as a workaround.
    
    Change-Id: I4539d91a846a54a05f9648638494e1e99f704b0a
    Reviewed-on: https://gerrit.libreoffice.org/62425
    Tested-by: Jenkins
    Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
    7b0f2ee4
impfontcache.hxx 3.6 KB