On 6/18/22 11:54, Lucas Raab wrote:
On Tue, Jun 14, 2022 at 10:42:02PM -0400, George Rosamond wrote:
Attached is a preliminary port for graphics/fonttools for anyone interested.
Tested with a bunch of the functions.
There are optional dependencies for extended functionality which will
require porting more python modules.
pkg/DESCR:
fontTools is a library for manipulating fonts, written in Python.
The project includes the TTX tool, that can convert TrueType and
OpenType fonts to and from an XML text format, which is also called
TTX. It supports TrueType, OpenType, AFM and to an extent Type 1
and some Mac-specific formats.
portcheck shows this error when installing the ttx(1) man page:
"in FLAVOR "python3": manual pages should go under ${PREFIX}/man/ rather
than under ${PREFIX}/share/man/"
I can get it to install to ${PREFIX}/man with ${INSTALL_MAN}, but setting
MANDIR still isn't stopping ttx.1 from installing in ${PREFIX}/share/man.
g
jca@ helpfully pointed out that FONTTOOLS_MANPATH can be set (as > documented
in setup.py):
https://pbot.rmdir.de/xM2-m1bNVSiyy3hrmKSBwQ
cython should either be brought in as BUILD_DEPENDS or MAKE_ENV should
set FONTTOOLS_WITH_CYTHON=0
Thanks Lucas and jca@.
Appreciated.
George