Re: HP 41: new barcode creation tool Message #42 Posted by 聲gel Martin on 13 July 2013, 2:20 a.m., in response to message #41 by 聲gel Martin
Actually I tried the .NET3 version and it has the same problem, maybe something related to fonts not being available? The irony is that this was working fine in previous versions...
see the error dump below.-
D:\HP-41\FOCAL>focalcomp -barcode pfe.txt
HP-41 Focal Compiler v1.0 (c) 2013 Michael G顤icke
Barcoding: pfe.txt
Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'System.Windows.Media.FontFamily' threw an exception. ---> System.TypeInitiali
zationException: The type initializer for 'MS.Internal.FontCache.Util' threw an
exception. ---> System.UriFormatException: Invalid URI: The format of the URI co
uld not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString, UriKind uriKind)
at MS.Internal.FontCache.Util..cctor()
--- End of inner exception stack trace ---
at System.Windows.Media.FontFamily.PreCreateDefaultFamilyCollection()
at System.Windows.Media.FontFamily..cctor()
--- End of inner exception stack trace ---
at System.Windows.Media.Typeface..ctor(FontFamily fontFamily, FontStyle style
, FontWeight weight, FontStretch stretch)
at FocalCompiler.FocalBarcode.InitImage()
at FocalCompiler.FocalBarcode.AddBarcodeToImage(Byte[] barcode, Int32 barcode
Len, Int32 currentRow, Int32 fromLine, Int32 toLine)
at FocalCompiler.FocalBarcode.OutputBarcode(Byte[] barcodeBuf, Int32 barcodeL
ength, Int32 leading, Int32 trailing, Int32 currentRow, Int32 fromLine, Int32 to
Line)
at FocalCompiler.FocalBarcode.AddToBarcode(Int32 OutcodeLength, Byte[] OutCod
e)
at FocalCompiler.FocalBarcode.Compile(String InputFilename, Boolean hex)
at FocalCompiler.Program.Main(String[] args)
D:\HP-41\FOCAL>
|