Re: Windows MAGICK_CONFIGURE_PATH options

Bob Friesenhahn <[email protected]> Fri, 6 Mar 2020 15:51:33 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--3735943886-741305545-1583531493=:19876
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Fri, 6 Mar 2020, 10bxjfhf wrote:
>
> Still, it looks right now that the log file directory still wants to be the 
> same directory the executable is in (which is read-only once the app is 
> installed),  unless I set a hard coded path for the file name in log.mgk, 
> which seems to mean I have to generate log.mgk on the fly once the app knows 
> where it is safe to write that data

It seems that a writeable per-user directory is needed.  Obviously 
Windows does provide a per-user directory for such files.  There is 
always a security hazard when supporting such powerful features in a 
writeable directory.

For Ghostscript fonts we use a text substitution algorithm where an 
input template file (type-ghostscript.mgk.in) has text looking like 
'@ghostscript_font_dir@' substituted with a path.  It should be 
possible to support a substitution algorithm in the mgk config files.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
--3735943886-741305545-1583531493=:19876
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--3735943886-741305545-1583531493=:19876
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-apis mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis

--3735943886-741305545-1583531493=:19876--