summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornikita <nikita@pkgsrc.org>2022-05-23 17:09:24 +0000
committernikita <nikita@pkgsrc.org>2022-05-23 17:09:24 +0000
commitd813250f51c7a0062b6419dcaba65e63ee9216b9 (patch)
tree7fa308ee2a5e89f4f7bd8794dfb3164d02256597
parent94bb81b5c4338a06eb6552e209d7dbd8ea7d3b5d (diff)
downloadpkgsrc-d813250f51c7a0062b6419dcaba65e63ee9216b9.tar.gz
fonts: Add ttf-meera
Meera is a TrueType font for the Malayalam language. This is a comprehensive Malayalam font with 1000+ glyphs for all common Malayalam ligatures. It has carefully designed ascent, descent metrics optimized for Malayalam script's vertically stacked conjuncts. Meera is an even stroke typeface for better screen rendering, with individually designed glyphs for complex conjuncts rather than using component glyphs. Meera is a san-serif counter part of Rachana font with all traditional characters. It is also meant for body text like Rachana, preferably for a pamphlet or single page designs. Usage of Meera can be thought of similar to Helvetica typeface and its variations like Arial. Meera Roman glyphs are visually similar to Arial but its orthography strictly follows Meera Malayalam glyphs. Basic curves and straight lines are taken from Malayalam ‘റ’ and ‘വ’ characters. This is why Meera Roman glyphs differ from Helvetica but holds san-serif characteristics and smoothly sit with its Malayalam glyphs. Released in 2007, Meera is the default Malayalam font for many GNU/Linux distros for Malayalam script. The font is widely used in web as the primary choice for Malayalam screen font. The font is available only in regular style.
-rw-r--r--fonts/Makefile3
-rw-r--r--fonts/ttf-meera/DESCR24
-rw-r--r--fonts/ttf-meera/Makefile38
-rw-r--r--fonts/ttf-meera/PLIST3
-rw-r--r--fonts/ttf-meera/distinfo5
5 files changed, 72 insertions, 1 deletions
diff --git a/fonts/Makefile b/fonts/Makefile
index 4ccd5077209..a5784db146b 100644
--- a/fonts/Makefile
+++ b/fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.376 2022/04/18 05:08:47 markd Exp $
+# $NetBSD: Makefile,v 1.377 2022/05/23 17:09:24 nikita Exp $
#
COMMENT= Fonts
@@ -865,6 +865,7 @@ SUBDIR+= tex-zhmetrics-uptex-doc
SUBDIR+= tex-zlmtt
SUBDIR+= tex-zlmtt-doc
SUBDIR+= thaixfonts
+SUBDIR+= ttf-meera
SUBDIR+= ttf-tlwg
SUBDIR+= ttf2pk
SUBDIR+= ttf2pt1
diff --git a/fonts/ttf-meera/DESCR b/fonts/ttf-meera/DESCR
new file mode 100644
index 00000000000..e99dec2473f
--- /dev/null
+++ b/fonts/ttf-meera/DESCR
@@ -0,0 +1,24 @@
+Meera is a TrueType font for the Malayalam language.
+This is a comprehensive Malayalam font with 1000+ glyphs for all
+common Malayalam ligatures.
+
+It has carefully designed ascent, descent metrics optimized for
+Malayalam script's vertically stacked conjuncts. Meera is an even
+stroke typeface for better screen rendering, with individually
+designed glyphs for complex conjuncts rather than using component
+glyphs.
+
+Meera is a san-serif counter part of Rachana font with all traditional
+characters. It is also meant for body text like Rachana, preferably
+for a pamphlet or single page designs. Usage of Meera can be thought
+of similar to Helvetica typeface and its variations like Arial. Meera
+Roman glyphs are visually similar to Arial but its orthography
+strictly follows Meera Malayalam glyphs. Basic curves and straight
+lines are taken from Malayalam ‘റ’ and ‘വ’ characters. This is why
+Meera Roman glyphs differ from Helvetica but holds san-serif
+characteristics and smoothly sit with its Malayalam glyphs.
+
+Released in 2007, Meera is the default Malayalam font for many
+GNU/Linux distros for Malayalam script. The font is widely used in
+web as the primary choice for Malayalam screen font. The font is
+available only in regular style.
diff --git a/fonts/ttf-meera/Makefile b/fonts/ttf-meera/Makefile
new file mode 100644
index 00000000000..f0b3366d580
--- /dev/null
+++ b/fonts/ttf-meera/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2022/05/23 17:09:24 nikita Exp $
+
+DISTNAME= ttf-meera-${GITLAB_TAG}
+PKGNAME= ttf-meera-7.0.3.20191223
+CATEGORIES= fonts
+MASTER_SITES= https://gitlab.com/smc/fonts/${GITLAB_PROJECT}/-/archive/${GITLAB_TAG}/
+GITLAB_PROJECT= meera
+GITLAB_LONGTAG= aebe37081332d93e02a83a8649120401967fc379
+GITLAB_TAG= aebe3708
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://smc.org.in/fonts/meera
+COMMENT= Malayalam font in TTF format
+LICENSE= gnu-gpl-v3 OR ofl-v1.1 # gpl-v3 with font exception OR ofl 1.1
+
+USE_LANGUAGES= # none
+PYTHON_FOR_BUILD_ONLY= yes
+
+WRKSRC= ${WRKDIR}/${GITLAB_PROJECT}-${GITLAB_TAG}-${GITLAB_LONGTAG}
+USE_TOOLS+= gmake
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-fonttools-[0-9]*:../../fonts/py-fonttools
+
+FONTDIR= ${PREFIX}/share/fonts/X11/TTF
+FONTS_DIRS.ttf= ${FONTDIR}
+INSTALLATION_DIRS= ${FONTDIR} share/fontconfig/conf.avail
+
+# make all would run tests, which requires the hb-view binary of
+# harfbuzz to be available, which we currently don't build.
+do-build:
+ cd ${WRKSRC} && ${MAKE_ENV} make ttf
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/build/Meera-Regular.ttf ${DESTDIR}${FONTDIR}/Meera-Regular.ttf
+ ${INSTALL_DATA} ${WRKSRC}/65-0-smc-meera.conf ${DESTDIR}${PREFIX}/share/fontconfig/conf.avail/
+
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ttf-meera/PLIST b/fonts/ttf-meera/PLIST
new file mode 100644
index 00000000000..caac28e64f8
--- /dev/null
+++ b/fonts/ttf-meera/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/23 17:09:24 nikita Exp $
+share/fontconfig/conf.avail/65-0-smc-meera.conf
+share/fonts/X11/TTF/Meera-Regular.ttf
diff --git a/fonts/ttf-meera/distinfo b/fonts/ttf-meera/distinfo
new file mode 100644
index 00000000000..55d718bfdaf
--- /dev/null
+++ b/fonts/ttf-meera/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/23 17:09:24 nikita Exp $
+
+BLAKE2s (ttf-meera-aebe3708.tar.gz) = 752feea012026721ecb73bdd04ab38fc395486911960e32e590381ab98ec7cf7
+SHA512 (ttf-meera-aebe3708.tar.gz) = 0abea0440dedf5e9ee486fa021b9d1865d8dbd20a1e1466056c46c5a9bc111ad5a344c2d66cf3cb501ec1815194c317c602b96fd9cfe91701a9c1259eecc2713
+Size (ttf-meera-aebe3708.tar.gz) = 791238 bytes