Menu

#13 Error in parsing Type1FontData

open
nobody
None
5
2005-09-30
2005-09-30
Anonymous
No

I got an error during parsing a type 1 font file.
An exception System.FormatException is thrown at line
217 in the file Prop\Type1FontData.cs in the fonction
Single.Parse.
It is during generating the text sample.
My CultureInfo is french.

I think the solution is to replace
number = Single.Parse(stringNumber)
with
number = Single.Parse(token,
CultureInfo.InvariantCulture)

Discussion


Log in to post a comment.