Lines Matching refs:rc
341 FT_Error rc = FT_New_Memory_Face( aLibFT, in GetFaceFT() local
344 if( (rc != FT_Err_Ok) || (maFaceFT->num_glyphs <= 0) ) in GetFaceFT()
746 FT_Error rc = FT_Set_Pixel_Sizes( maFaceFT, mnWidth, rFSD.mnHeight ); in FreetypeServerFont() local
747 if( rc != FT_Err_Ok ) in FreetypeServerFont()
763 rc = FT_Select_Charmap( maFaceFT, eEncoding ); in FreetypeServerFont()
765 if( rc != FT_Err_Ok ) in FreetypeServerFont()
1329 FT_Error rc = -1; in InitGlyphData() local
1335 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in InitGlyphData()
1336 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format!=FT_GLYPH_FORMAT_BITMAP) ) in InitGlyphData()
1337 rc = -1; // mark as "loading embedded bitmap" was unsuccessful in InitGlyphData()
1341 if( rc != FT_Err_Ok ) in InitGlyphData()
1343 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in InitGlyphData()
1345 if( rc != FT_Err_Ok ) in InitGlyphData()
1363 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in InitGlyphData()
1364 if( rc != FT_Err_Ok ) in InitGlyphData()
1434 FT_Error rc = -1; in GetGlyphBitmap1() local
1440 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in GetGlyphBitmap1()
1441 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format != FT_GLYPH_FORMAT_BITMAP) ) in GetGlyphBitmap1()
1442 rc = -1; // mark as "loading embedded bitmap" was unsuccessful in GetGlyphBitmap1()
1446 if( rc != FT_Err_Ok ) in GetGlyphBitmap1()
1448 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphBitmap1()
1449 if( rc != FT_Err_Ok ) in GetGlyphBitmap1()
1456 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphBitmap1()
1457 if( rc != FT_Err_Ok ) in GetGlyphBitmap1()
1494 rc = FT_Glyph_To_Bitmap( &pGlyphFT, nRenderMode, NULL, sal_True ); in GetGlyphBitmap1()
1495 if( rc != FT_Err_Ok ) in GetGlyphBitmap1()
1603 FT_Error rc = -1; in GetGlyphBitmap8() local
1609 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags|FT_LOAD_NO_HINTING ); in GetGlyphBitmap8()
1610 if( (rc==FT_Err_Ok) && (maFaceFT->glyph->format != FT_GLYPH_FORMAT_BITMAP) ) in GetGlyphBitmap8()
1611 rc = -1; // mark as "loading embedded bitmap" was unsuccessful in GetGlyphBitmap8()
1615 if( rc != FT_Err_Ok ) in GetGlyphBitmap8()
1617 rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphBitmap8()
1619 if( rc != FT_Err_Ok ) in GetGlyphBitmap8()
1626 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphBitmap8()
1627 if( rc != FT_Err_Ok ) in GetGlyphBitmap8()
1649 rc = FT_Glyph_To_Bitmap( &pGlyphFT, FT_RENDER_MODE_NORMAL, NULL, sal_True ); in GetGlyphBitmap8()
1650 if( rc != FT_Err_Ok ) in GetGlyphBitmap8()
2304 FT_Error rc = FT_Load_Glyph( maFaceFT, aGlyphId, nLoadFlags ); in GetGlyphOutline() local
2305 if( rc != FT_Err_Ok ) in GetGlyphOutline()
2312 rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT ); in GetGlyphOutline()
2313 if( rc != FT_Err_Ok ) in GetGlyphOutline()
2347 rc = FT_Outline_Decompose( &rOutline, &aFuncs, (void*)&aPolyArg ); in GetGlyphOutline()