Showing posts with label GNU/Linux. Show all posts
Showing posts with label GNU/Linux. Show all posts

Tuesday, March 04, 2008

[Reply] The evolution

In response to this query:

Suruma font (and the patch) was started off as solution to the issues regarding the shaping of post-base forms of consonants viz. YA,RA,LA & VA , in certain contexts, when they are the rendered in GNU systems (mainly pango).Treating them as ordinary consonants in the shaping engine means they can be used with 'akhand' tag in the font substitution table.ie, the respective form will appear whenever we input followed by the above mentioned consonant, irrespective of the context.Another issue solved is the post GSUB reordering of the isolated RA sign(used in reformed script),wherein it should be placed in front of the base glyph.This reordering is still to be achieved by any of the rendering mechanisms except the uniscribe.Moreover, using the post base forms for RA and LA leads to weird shaping results when they are followed by NGA, RA, RRA etc. and may more.So this is the raison d'etre for suruma.

Now, with the Rachanas and Meeras which carry the orthographic legacy of 'The Rachana Movement', the 'g01' version was a fork for implementing suruma concepts by removing the uniscribe support.In 'g02', the uniscribe support is retained.The 'g03' is a fine tuned 'g02' where the issues regarding the conjuncts like YRA ,YLA (as in കൊയ്രാള,മൊയ്ലി) etc. are solved.Also the version name is separated from the fonts' internal name.

In '04' version the shaping issues of post-base forms of YA('മുഖ്യമന്ത്രി' പ്രശ്നം) and VA are solved at the font level by adding half form(pre base).The half forms for other consonants are also used for the better shaping of complex syllabic cluster.Many from SMC suggested that the 'g' part be removed because of the uniscribe support is there.Thus the version name.

Now, what about suruma font? In this strange scenario it travelled backward,in a sense, and gets some uniscribe support(not quite).It is now suruma2.

As a demonstrative case for using reformed script with pango, I used Late R K Joshi's GPL'ed font RaghuMalayalam(suggested by Anivar) and made version2 of it based on the principle used in the '04 fonts.

The pango now uses post base forms of YA and VA only.So the support for these fonts are there.The 'കാര്‍ക്കോടകന്‍' issue will be solved once the patches for the same is accepted by the pango people.

Tuesday, December 18, 2007

Malayalam Rendering in GNU systems: My take - Part 1

There exist some issues regarding the rendering of Unicode Malayalam in GNU systems.Providing support for traditional and reformed scripts is one such issue.The problem compounds with numerous rendering mechanism in use for different toolkits and applications.It is heard that a unified method for rendering is in the offing.That would be a nice thing to happen.

Normally fonts are made either for the traditional script or for the reformed one.The shaping work done by the rendering engine goes haywire when we change from one script to another because the engine does not use the script variance information from the font metadata.So we can have a properly laid out Malayalam text for one script only; not for both.One can not see how uniscribe has solved this issue because it is not open.It even seems that MS doesn't care for Malayalam as there is no script-specific OT spec for it.And again! there is no details available about the version 2 of indic opentype spec used by Vista, yet.

Next, I will put forward my views regarding the OT features which can be used and are appropriate for Malayalam.

Thursday, November 22, 2007

'മീര' - 'രചന' ഫോണ്ട് വലുപ്പവ്യത്യാസം പരിഹരിക്കാന്‍

'രചന'യുടേയും 'മീര'യിടേയും അക്ഷരരൂപങ്ങളുടെ ഒരേ സൈസ് തെരെഞ്ഞെടുക്കമ്പോള്‍ പ്രകടമാകുന്ന വലുപ്പവ്യത്യാസം നേരത്തെ പരാമര്‍ശിച്ചിരുന്നല്ലോ.ഇത് പരിഹരിക്കാന്‍ Fontconfig-ന്റെ സജ്ജീകരണ ഫയലില്‍(ഓരോ യൂസര്‍ക്കും, ഹോമിലുള്ള .fonts.conf എന്ന ഫയല്‍) താഴെപ്പറയുന്നത് കൂട്ടിച്ചേര്‍ത്താല്‍ മതി.നേരത്തെത്തന്നെ ഇങ്ങനെയൊരു ഫയല്‍ ഉണ്ടെങ്കില്‍ പച്ചയില്‍ എഴുതിയ ഭാഗം ഒഴിവാക്കി ബാക്കി മാത്രം യഥാസ്ഥാനം ചേര്‍ത്താല്‍ മതിയാകും.

================ .fonts.conf ==================
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- multiply the matrix of Meera font for solving size mismatch with Rachana-->
<match target="font">
<test name="family">
<string>Meera_g02</string>
</test>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix><double>1.2</double><double>0</double>
<double>0</double><double>1.2</double>
</matrix>
</times>
</edit>
</match>
</fontconfig>
============================================

ഇപ്പോള്‍ വലുപ്പവ്യത്യാസം നന്നെ കുറവായിരിക്കും, ഇങ്ങനെ:


ഈ പോസ്റ്റിലെ പഴയ കമന്റുകള്‍ ഇവിടെ കാണാം

Sunday, November 18, 2007

Hinting of Anjali font with Fontforge

I tried to add some duplicate tags to the Kevin's AnjaliOldLipi font so that it can work with suruma patch.I was not completely successful with the previous version of fontforge but, could complete it with the new avatar of fontforge.In the process I found that fontforge was unable to read the hinting instructions.

The autohinting done by fontforge now gives a reasonably good appearance for the glyphs if antialiasing is enabled.The freetype rasterizer can work with this autohinted glyphs,too.The hand-hinted glyphs are better,anyway.

The first scrot shows Anjali with no auto hinting and the other shows Anjali autohinted using fontforge.






Thursday, April 12, 2007

രചന ഫോണ്ട് സുറുമ പാച്ചിനൊപ്പം

ഫ്രീ ഫോണ്ടുകളായ രചനയും ഫ്രീസെരിഫും സുറുമ പാച്ചിനൊപ്പം ഉപയോഗിക്കാവുന്ന രീതിയില്‍ ഇവിടെ.



Powered by ScribeFire.