Skip to content

Commit

Permalink
Changing the sample font to Lateef
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmes committed Feb 22, 2016
1 parent 7587c7b commit ff9f7d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/SharedDemo/SkiaSharp.Demos.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public static void CustomFonts (SKCanvas canvas, int width, int height)

using (var tf = SKTypeface.FromFile (CustomFontPath)) {
paint.Color = XamGreen;
paint.TextSize = 40;
paint.TextSize = 60;
paint.Typeface = tf;

canvas.DrawText (text, 50, 50, paint);
Expand All @@ -292,7 +292,7 @@ public static void CustomFonts (SKCanvas canvas, int width, int height)
using (var stream = new SKFileStream (CustomFontPath))
using (var tf = SKTypeface.FromStream (stream)) {
paint.Color = XamDkBlue;
paint.TextSize = 40;
paint.TextSize = 60;
paint.Typeface = tf;

canvas.DrawText (text, 50, 100, paint);
Expand All @@ -308,7 +308,7 @@ public static void CustomFonts (SKCanvas canvas, int width, int height)
using (var stream = new SKMemoryStream (bytes))
using (var tf = SKTypeface.FromStream (stream)) {
paint.Color = XamLtBlue;
paint.TextSize = 40;
paint.TextSize = 60;
paint.Typeface = tf;

canvas.DrawText (text, 50, 150, paint);
Expand All @@ -319,7 +319,7 @@ public static void CustomFonts (SKCanvas canvas, int width, int height)
using (var stream = new SKManagedStream (resource))
using (var tf = SKTypeface.FromStream (stream)) {
paint.Color = XamPurple;
paint.TextSize = 40;
paint.TextSize = 60;
paint.Typeface = tf;

canvas.DrawText (text, 50, 200, paint);
Expand Down
Binary file modified samples/SharedDemo/content-font.ttf
Binary file not shown.
Binary file modified samples/SharedDemo/embedded-font.ttf
Binary file not shown.

0 comments on commit ff9f7d8

Please sign in to comment.