Search found 7 matches

by Morgon
2016-09-29T12:45:21-07:00
Forum: IMagick
Topic: Set static SVG resolution (or get resolution prior to reading)
Replies: 5
Views: 17126

Re: Set static SVG resolution (or get resolution prior to reading)

As an update (and as you did mention), this seems to only work on versions of ImageMagick above 6.7 (My local environment, where it worked, is 6.9.5-10; the environments where this is to be run is 6.7.2-7). Do you think there might be an equivalent way to do this with 6.7 without having to render th...
by Morgon
2016-09-21T05:46:02-07:00
Forum: IMagick
Topic: Set static SVG resolution (or get resolution prior to reading)
Replies: 5
Views: 17126

Re: Set static SVG resolution (or get resolution prior to reading)

Oh wow. Actually that does seem to work. I had thought I'd tried that and it made the final output fuzzy, but it looks quite nice!

Thanks very much for the responses, I greatly appreciate it!
by Morgon
2016-09-20T20:49:58-07:00
Forum: IMagick
Topic: Set static SVG resolution (or get resolution prior to reading)
Replies: 5
Views: 17126

Re: Set static SVG resolution (or get resolution prior to reading)

Thanks for your response. So to be clear, the only way to do this is to test it twice? There's no built-in function to return what the SVG renderer's default DPI is?
by Morgon
2016-09-20T18:48:39-07:00
Forum: IMagick
Topic: Set static SVG resolution (or get resolution prior to reading)
Replies: 5
Views: 17126

Set static SVG resolution (or get resolution prior to reading)

Using setResolution , you can adjust the density prior to reading in an SVG. As the comment at the bottom notes, this is set in relation to the current resolution. I'm trying to adjust the resolution to 300DPI. In my environment (and as is noted in the documentation), the default resolution is 90 DP...
by Morgon
2016-09-02T07:31:49-07:00
Forum: IMagick
Topic: [Delete] SVG conversion through IMagick not using custom fonts
Replies: 0
Views: 15913

[Delete] SVG conversion through IMagick not using custom fonts

Turns out this is a 'simple' permissions issue. The user that php-fpm runs as has no logical access to the directory that holds my files. Of course, I'm perplexed by this as it does otherwise see and serve PHP files in that tree, but that's way outside the scope of this post/forum. Since I don't thi...
by Morgon
2016-09-01T09:11:42-07:00
Forum: Users
Topic: Using fonts in custom fontconfig directories for SVG Conversion
Replies: 1
Views: 3275

Re: Using fonts in custom fontconfig directories for SVG Conversion

I should note that I've symlinked this custom directory into /usr/local/share/fonts, but they are still not being picked up. It isn't until I specifically copy one of the files from the sub-tree into the parent './fonts' directory that it is properly used.
by Morgon
2016-09-01T08:57:42-07:00
Forum: Users
Topic: Using fonts in custom fontconfig directories for SVG Conversion
Replies: 1
Views: 3275

Using fonts in custom fontconfig directories for SVG Conversion

Hello. I've been trying to gather everything I can about ImageMagick's SVG handling(/offloading) with custom fonts. I've learned that I have to place the fonts in directories that are scanned by fontconfig. As such, if I put my fonts in '/usr/local/share/fonts', for example, the conversion from SVG ...