Check-in [b2aeffd190]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fix long-standing AGG/freetype/cmap initialization bug
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b2aeffd1908e30a0d293d3eae07cb35ef73f446a
User & Date: chw 2019-07-18 13:54:07
Context
2019-07-18
17:01
update freetype to version 2.10.1 check-in: 4a11018145 user: chw tags: trunk
13:54
fix long-standing AGG/freetype/cmap initialization bug check-in: b2aeffd190 user: chw tags: trunk
10:10
attempt to fix [dac9b7522d] in bones tool check-in: add99d128b user: chw tags: trunk
Changes

Changes to jni/sdl2tk/sdl/agg-2.4/font_freetype/agg_font_freetype.cpp.

753
754
755
756
757
758
759

760
761
762
763
764
765
766
        }
        return 0;
    }

    //------------------------------------------------------------------------
    bool font_engine_freetype_base::char_map(FT_Encoding char_map)
    {

        if(m_cur_face)
        {
            m_last_error = FT_Select_Charmap(m_cur_face, m_char_map);
            if(m_last_error == 0)
            {
                update_signature();
                return true;







>







753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
        }
        return 0;
    }

    //------------------------------------------------------------------------
    bool font_engine_freetype_base::char_map(FT_Encoding char_map)
    {
        m_char_map = char_map;
        if(m_cur_face)
        {
            m_last_error = FT_Select_Charmap(m_cur_face, m_char_map);
            if(m_last_error == 0)
            {
                update_signature();
                return true;