Here are the arguments:
-z -f "D:/inetpub/wwwroot/frodon/cache/frodon6079_20150409_162057.svg" -e "D:/inetpub/wwwroot/frodon/cache/frodon6079_20150409_162057.png"
The hack to the lib does not work very well in fact. We get the texts but not the good font.
If we can run As Administrator, it is working.
Here is the dotnet code used to call inkscape: Dim L_argument As String = " -z -f """ + Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/" + L_name_file + ".svg"" -e """ + Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/" + L_name_file + ".png""" Dim p As System.Diagnostics.Process = Nothing Dim processStartInfo As System.Diagnostics.ProcessStartInfo processStartInfo = New System.Diagnostics.ProcessStartInfo() processStartInfo.FileName = inkscape processStartInfo.Arguments = L_argument 'processStartInfo.Verb = "runas" processStartInfo.WorkingDirectory = "C:\Soft\" processStartInfo.EnvironmentVariables("USERPROFILE") = Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/" 'processStartInfo.EnvironmentVariables("WINDOWSFONTDIR") = "C:\Windows\Fonts\" processStartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden processStartInfo.UseShellExecute = False
processStartInfo.RedirectStandardError = False p = System.Diagnostics.Process.Start(processStartInfo)
Hi,
Here are the arguments: wwwroot/ frodon/ cache/frodon607 9_20150409_ 162057. svg" -e "D:/inetpub/ wwwroot/ frodon/ cache/frodon607 9_20150409_ 162057. png"
-z -f "D:/inetpub/
The hack to the lib does not work very well in fact. We get the texts but not the good font.
If we can run As Administrator, it is working.
Here is the dotnet code used to call inkscape:
Dim L_argument As String = " -z -f """ + Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/" + L_name_file + ".svg"" -e """ + Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/" + L_name_file + ".png"""
Dim p As System. Diagnostics. Process = Nothing
Dim processStartInfo As System. Diagnostics. ProcessStartInf o
processSt artInfo = New System. Diagnostics. ProcessStartInf o()
processSt artInfo. FileName = inkscape
processSt artInfo. Arguments = L_argument
' processStartInf o.Verb = "runas"
processSt artInfo. WorkingDirector y = "C:\Soft\"
processSt artInfo. EnvironmentVari ables(" USERPROFILE" ) = Simbad_drive + "/inetpub/wwwroot/" + Serveur + "/cache/"
' processStartInf o.EnvironmentVa riables( "WINDOWSFONTDIR ") = "C:\Windows\Fonts\"
processSt artInfo. WindowStyle = System. Diagnostics. ProcessWindowSt yle.Hidden
processSt artInfo. UseShellExecute = False