import devel/libotf, from Eric Brown, ok kevlo@

The library "libotf" provides the following facilities:

- Read Open Type Layout Tables from OTF file.  Currently these
  tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.

- Convert a Unicode character sequence to a glyph code sequence by
  using the above tables.

The combination of libotf and the FreeType library (Ver.2) realizes
CTL (complex text layout) by OpenType fonts.
This commit is contained in:
sthen 2019-03-26 16:44:12 +00:00
parent 4f8b7684f4
commit 6b12eeacba
4 changed files with 44 additions and 0 deletions

22
devel/libotf/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/03/26 16:44:12 sthen Exp $
COMMENT = library for handling OpenType Fonts
DISTNAME = libotf-0.9.16
CATEGORIES = devel
SHARED_LIBS += otf 0.0 # 1.0
HOMEPAGE = https://www.nongnu.org/m17n/
MAINTAINER = Eric Brown <brown@fastmail.com>
# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c freetype z
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=m17n/}
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>

2
devel/libotf/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libotf-0.9.16.tar.gz) = aNsMo82i1GpmOpLsJubrWtw5LqUZG82nQmjwrvp4Bms=
SIZE (libotf-0.9.16.tar.gz) = 423979

10
devel/libotf/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
The library "libotf" provides the following facilities:
- Read Open Type Layout Tables from OTF file. Currently these
tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
- Convert a Unicode character sequence to a glyph code sequence by
using the above tables.
The combination of libotf and the FreeType library (Ver.2) realizes
CTL (complex text layout) by OpenType fonts.

10
devel/libotf/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/03/26 16:44:12 sthen Exp $
bin/libotf-config
@bin bin/otfdump
@bin bin/otflist
@bin bin/otftobdf
include/otf.h
lib/libotf.a
lib/libotf.la
@lib lib/libotf.so.${LIBotf_VERSION}
lib/pkgconfig/libotf.pc