Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate fontconfig xml file for meera #6

Open
copyninja opened this issue Feb 14, 2014 · 2 comments
Open

Separate fontconfig xml file for meera #6

copyninja opened this issue Feb 14, 2014 · 2 comments

Comments

@copyninja
Copy link
Contributor

Since Meera font was requested to be made as default for Debian, we are planning to separate it into fonts-smc-meera package to avoid eating space in installer. As part of the discussion with @santhoshtr I've separated fontconfig file for meera and rachana. fonts-smc-meera will install its own fontconfig xml and fonts-smc will contain rest part of it. Here is a patch please consider merging it.

--- a/malayalam-fonts.conf
+++ b/malayalam-fonts.conf
@@ -7,18 +7,6 @@
                 <string>ml</string>
         </test>
         <alias>
-                <family>sans-serif</family>
-                <prefer>
-                        <family>Meera</family> 
-                </prefer>
-   </alias>
-</match>
-
-<match target="font">
-        <test name="lang" compare="contains">
-                <string>ml</string>
-        </test>
-        <alias>
                 <family>serif</family>
                 <prefer>
                         <family>Rachana</family>
--- /dev/null
+++ b/meera-font.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <!-- Malayalam (ml) -->
+  <match target="font">
+        <test name="lang" compare="contains">
+                <string>ml</string>
+        </test>
+        <alias>
+                <family>sans-serif</family>
+                <prefer>
+                        <family>Meera</family>
+                </prefer>
+   </alias>
+</match>
+<!-- Malayalam (ml) ends -->
+</fontconfig>
@rajeeshknambiar
Copy link
Contributor

Fedora already has nice individual fontconf files for smc-fonts. Simply add
them to upstream.
http://pkgs.fedoraproject.org/cgit/smc-fonts.git/tree/

On Fri, Feb 14, 2014 at 5:50 PM, Vasudev Kamath [email protected]:

Since Meera font was requested to be made as default for Debian, we are
planning to separate it into fonts-smc-meera package to avoid eating space
in installer. As part of the discussion with @santhoshtrhttps://github.com/santhoshtrI've separated fontconfig file for meera and rachana. fonts-smc-meera will
install its own fontconfig xml and fonts-smc will contain rest part of it.
Here is a patch please consider merging it.

--- a/malayalam-fonts.conf+++ b/malayalam-fonts.conf@@ -7,18 +7,6 @@
ml

- sans-serif- - Meera - - ---- - ml- -
serif

Rachana--- /dev/null+++ b/meera-font.conf@@ -0,0 +1,17 @@++++ + + + ml+ + + sans-serif+ + Meera+ + +++


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com

@copyninja
Copy link
Contributor Author

Looks nice my patch was just on malayalam-fonts.conf file which is shipped by SMC upstream. If fedora stuffs works fine then its fine with me to pull them to Debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants