Silverlight WriteableBitmap not converting custom font correctly
问题 We use custom fonts to represent road signs and shapes that we plot on a graph. Initially I plotted everything to a canvas, which worked fine, but was slow to scroll horizontally. Then I fixed the scrolling issue by converting the canvas to a image using the WriteableBitmap, like this: #if SILVERLIGHT ImageSource ConvertCanvas(Canvas canvas) { WriteableBitmap Source = new WriteableBitmap(canvas, /* transform = */ null); Source.Invalidate(); return Source; } #endif This conversion works fine