View | Details | Raw Unified | Return to issue 127929
Collapse All | Expand All

(-)main/vcl/source/glyphs/gcach_ftyp.cxx (+9 lines)
Lines 1361-1366 Link Here
1361
1361
1362
    FT_Glyph pGlyphFT;
1362
    FT_Glyph pGlyphFT;
1363
    rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT );
1363
    rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT );
1364
    if( rc != FT_Err_Ok )
1365
    {
1366
        // we get here e.g. when a PS font lacks the default glyph
1367
        rGD.SetCharWidth( 0 );
1368
        rGD.SetDelta( 0, 0 );
1369
        rGD.SetOffset( 0, 0 );
1370
        rGD.SetSize( Size( 0, 0 ) );
1371
        return;
1372
    }
1364
1373
1365
    ApplyGlyphTransform( nGlyphFlags, pGlyphFT, false );
1374
    ApplyGlyphTransform( nGlyphFlags, pGlyphFT, false );
1366
    if( mbArtBold && pFTEmbolden && (nFTVERSION < 2200) ) // #i71094# workaround staircase bug
1375
    if( mbArtBold && pFTEmbolden && (nFTVERSION < 2200) ) // #i71094# workaround staircase bug

Return to issue 127929