[oe] [PATCH 3/4] ttf-lohit: add version 2 to support Indian languages

Hongxu Jia hongxu.jia at windriver.com
Tue Aug 9 01:42:41 UTC 2016


The font family supports 21 Indian languages: Assamese, Bengali,
Devanagari (Hindi, Kashmiri, Konkani, Maithili, Marathi, Nepali,
Sindhi, Santali, Bodo, Dogri), Gujarati, Kannada, Malayalam,
Manipuri, Oriya, Punjabi, Tamil, and Telugu.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-oe/conf/layer.conf                           |  1 +
 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index 71ee2fb..edcafdf 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -59,6 +59,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   ttf-inconsolata->fontconfig \
   ttf-liberation->fontconfig \
   ttf-liberation-sans-narrow->fontconfig \
+  ttf-lohit->fontconfig \
   ttf-pt-sans->fontconfig \
   ttf-mplus->fontconfig \
   ttf-sazanami->fontconfig \
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb
new file mode 100644
index 0000000..f9679d6
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.bb
@@ -0,0 +1,23 @@
+require ttf.inc
+
+SUMMARY = "The project goal is to improve existing offerings of the fonts \
+- making sure the Lohit fonts deliver the best available quality and functions \
+to the community."
+HOMEPAGE = "https://fedorahosted.org/lohit"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://OFL.txt;md5=7dfa0a236dc535ad2d2548e6170c4402"
+
+SRCREV = "d678f1b1807ea5602586279e90b5db6d62ed475e"
+SRC_URI = "git://github.com/pravins/lohit.git;branch=master"
+
+DEPENDS = "fontforge-native"
+S = "${WORKDIR}/git"
+FONT_PACKAGES = "${PN}"
+FILES_${PN} = "${datadir}"
+
+inherit pythonnative
+
+do_compile() {
+    cd ${S}; make ttf;
+}
+
-- 
2.8.1




More information about the Openembedded-devel mailing list