Comment 4 for bug 1441998

Revision history for this message
jmr (jmpalavas) wrote : Re: [Bug 1441998] Re: [Windows] Not exporting SVG text element to PNG in IIS

Hi Alvin,

There is no text at all in the PNG. We got some text after manually
hacking the libfontconfig-1.dll
I thought this could give you a clue on the problem. Sorry that this
made some confusion instead.

Defining WINDOWSFONTDIR environment variable does not fix the problem.
Setting full access to everyone for the inkscape folder does not fix the
problem.

IIS asp is generally executed with user NETWORK SERVICE.

It seems that the text "WINDOWSFONTDIR" is harcoded in the dll i.e it
does not read the content of the environment variable but put this
string as is.

Regars,
Jean-Michel

Le 09/04/2015 20:07, Alvin Penner a écrit :
> thanks for the detailed info. When I run this command in DOS it appears
> to work normally, so it is presumably a security issue of some sort. It
> looks as if it will be necessary to run this test from IIS, which I am
> not in a position to be able to do.
>
> just two questions of clarification:
> - I see you are defining WINDOWSFONTDIR in software, is this working, or at least helping?
>
> - the original post suggested that there was no text. The second post suggests that the font is wrong.
> Is the problem that you are not getting any text, or is the problem that you are getting the wrong font, like perhaps a default font instead of the one you requested?
>