Discussion:
[Dvipng] [patch] configure flags for t1lib and freetype
Samuli Suominen
2010-04-21 21:08:06 UTC
Permalink
In order to make dvipng a bit more source-based distribution friendly to
allow package manager to control the features of the package, I've wrote
a quick patch to add flags:

--enable/--disable-freetype
--enable/--disable-t1lib

To the configure.ac file. With the patch if no flags are specified, the
current behavior of auto-detect is used.

Patch:

http://bugs.gentoo.org/attachment.cgi?id=228543

Bug:

http://bugs.gentoo.org/show_bug.cgi?id=316329

Would be nice to see this, or something similar applied in upstream
dvipng so we don't have to carry the patch in the distro...

Thanks, Samuli
Jan-Ake Larsson
2010-04-22 07:07:04 UTC
Permalink
Hi Samuli,
Post by Samuli Suominen
In order to make dvipng a bit more source-based distribution friendly to
--enable/--disable-freetype
--enable/--disable-t1lib
This is of course quite possible, and I'll include this in the next
release, I don't see why not.

But I'd recommend making Freetype mandatory because image quality is not
as good with the other options. Freetype is better at hinting. Also,
using Freetype is the only way to get subfont support (CJK). At this
point, I mainly view t1lib and PK support as (more and more obsolete)
fallbacks.
Jan-Ake Larsson
2010-04-22 12:14:09 UTC
Permalink
please don't remove the pk support. It would complicate further use of
dvipng for me.
I won't remove it :)

But I will perhaps not put large amounts of work into it either.

/JÅ

Loading...