"Cannot allocate font data" when calling DrawString



Thanks for porting this library to Windows Phone! I am however encoutering a bug when trying to draw text: calling DrawString results in an error message which reads Cannot allocate font data.

The problem was also reported here.

This is probably due to the CreateWpfFontData function being #ifd out; do you have any idea of how it could be fixed?

Thanks a lot!
Closed Apr 5, 2013 at 2:13 PM by DevTheo


DevTheo wrote Apr 5, 2013 at 2:12 PM

Fonts probably won't work. There is a WP Port of ITextSharp (one by me that isn't GPLv3, and one by someone else that isn't GPL, but since he ported the GPLv3 code, it is GPLv3). Both are found right here on CodePlex.

My iTextSharp code is tested a little more than this..