Increase font size, center text

This commit is contained in:
David 2020-08-21 20:36:56 +02:00
parent a3020f2917
commit d740e7aee6
1 changed files with 2 additions and 2 deletions

View File

@ -123,12 +123,12 @@ namespace Jellyfin.Drawing.Skia
{
Color = SKColors.White,
Style = SKPaintStyle.Fill,
TextSize = 56,
TextSize = 112,
TextAlign = SKTextAlign.Center,
Typeface = SKTypeface.FromFamilyName("sans-serif", SKFontStyleWeight.Bold, SKFontStyleWidth.Normal, SKFontStyleSlant.Upright),
IsAntialias = true
};
canvas.DrawText(libraryName, width / 2f, height / 2f, textPaint);
canvas.DrawText(libraryName, width / 2f, (height / 2f) + (textPaint.FontMetrics.XHeight / 2), textPaint);
return bitmap;
}