From 182b29afeb56c244e0b939acbeb0cae26fa1fc4f Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 9 Jun 2010 19:09:19 +0530 Subject: adding fontconfig conf file for scaling Meera --- Makefile | 9 +++++++++ malayalam-fonts.conf | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 malayalam-fonts.conf diff --git a/Makefile b/Makefile index d7157a1..e4101e2 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ install: */*.ttf @for font in `echo ${fonts}`; \ do \ install -D -m 0644 $${font}/$${font}.ttf ${fontpath}/$${font}.ttf; done + install -m 0644 malayalam-fonts.conf /etc/fonts/conf.avail/67-malayalam-fonts.conf + ln -s /etc/fonts/conf.avail/67-malayalam-fonts.conf /etc/fonts/conf.d uninstall: @for font in `echo ${fonts}`; \ @@ -19,9 +21,16 @@ uninstall: if [ -d ${fontpath} ]; then rmdir ${fontpath}; fi + if [ -f /etc/fonts/conf.d/67-malayalam-fonts.conf ]; then \ + rm /etc/fonts/conf.d/67-malayalam-fonts.conf; fi + + if [ -f /etc/fonts/conf.avail/67-malayalam-fonts.conf ]; then \ + rm /etc/fonts/conf.avail/67-malayalam-fonts.conf; fi + clean: @for font in `echo ${fonts}`; \ do \ if [ -f $${font}/$${font}.ttf ]; then rm -f $${font}/$${font}.ttf; fi \ done + diff --git a/malayalam-fonts.conf b/malayalam-fonts.conf new file mode 100644 index 0000000..8eb5ab4 --- /dev/null +++ b/malayalam-fonts.conf @@ -0,0 +1,48 @@ + + + + + + + ml + + + sans-serif + + Meera + + + + + + + ml + + + serif + + Rachana + + + + + + + + Meera + + + + matrix + + 1.20 + 01.2 + + + + + + + + + -- cgit