pacificIT / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

CEF3: Debug LOG_ERROR in SimpleFontData::platformGlyphInit() #623

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
trunk/cef3/r664
trunk/cef1/r664
cef_preview_3.1142.654_windows.zip
windows 7

cef_binary_1.1025.607_windows.zip don't crash

Original issue reported on code.google.com by Aleksey....@gmail.com on 4 Jun 2012 at 11:05

Attachments:

GoogleCodeExporter commented 9 years ago
Your example is hitting the following debug assertion in 
SimpleFontData::platformGlyphInit():

    // Force the glyph for ZERO WIDTH SPACE to have zero width, unless it is shared with SPACE.
    // Helvetica is an example of a non-zero width ZERO WIDTH SPACE glyph.
    // See <http://bugs.webkit.org/show_bug.cgi?id=13178>
    // Ask for the glyph for 0 to avoid paging in ZERO WIDTH SPACE. Control characters, including 0,
    // are mapped to the ZERO WIDTH SPACE glyph.
    if (m_zeroWidthSpaceGlyph == m_spaceGlyph) {
        m_zeroWidthSpaceGlyph = 0;
        LOG_ERROR("Font maps SPACE and ZERO WIDTH SPACE to the same glyph. Glyph width will not be overridden.");
    }

To discover these types of problems use the "--single-process" command-line 
flag.

Original comment by magreenb...@gmail.com on 4 Jun 2012 at 5:39