pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts fonts: Add ttf-meera



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a71aa51fcdf
branches:  trunk
changeset: 379797:3a71aa51fcdf
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Mon May 23 17:09:24 2022 +0000

description:
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.

diffstat:

 fonts/Makefile           |   3 ++-
 fonts/ttf-meera/DESCR    |  24 ++++++++++++++++++++++++
 fonts/ttf-meera/Makefile |  38 ++++++++++++++++++++++++++++++++++++++
 fonts/ttf-meera/PLIST    |   3 +++
 fonts/ttf-meera/distinfo |   5 +++++
 5 files changed, 72 insertions(+), 1 deletions(-)

diffs (103 lines):

diff -r ec763bbd602c -r 3a71aa51fcdf fonts/Makefile
--- a/fonts/Makefile    Mon May 23 15:31:44 2022 +0000
+++ b/fonts/Makefile    Mon May 23 17:09:24 2022 +0000
@@ -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-zlmtt
 SUBDIR+=       tex-zlmtt-doc
 SUBDIR+=       thaixfonts
+SUBDIR+=       ttf-meera
 SUBDIR+=       ttf-tlwg
 SUBDIR+=       ttf2pk
 SUBDIR+=       ttf2pt1
diff -r ec763bbd602c -r 3a71aa51fcdf fonts/ttf-meera/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttf-meera/DESCR     Mon May 23 17:09:24 2022 +0000
@@ -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 -r ec763bbd602c -r 3a71aa51fcdf fonts/ttf-meera/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttf-meera/Makefile  Mon May 23 17:09:24 2022 +0000
@@ -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@localhost
+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 -r ec763bbd602c -r 3a71aa51fcdf fonts/ttf-meera/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttf-meera/PLIST     Mon May 23 17:09:24 2022 +0000
@@ -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 -r ec763bbd602c -r 3a71aa51fcdf fonts/ttf-meera/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttf-meera/distinfo  Mon May 23 17:09:24 2022 +0000
@@ -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


Home | Main Index | Thread Index | Old Index