Showing posts with label SMC. Show all posts
Showing posts with label SMC. Show all posts

Friday, 8 August 2008

One Year Old Bug Passed Away

A popular Malayalam rendering bug, known as the Karkkodakan bug, in GNOME which was active for 1 year, 2 months and 10 days was resolved last Wednesday(6th August 2008). This was the last known bug in GNOME Malayalam rendering. Swathanthra Malayalam Computing(SMC) have come with a solution some months before, but the GNOME community didn't accepted the patch since the solution was not perfect. However, SMC was maintaining patched packages for all the popular distributions, which is no longer needed. Hopefully, the next major release of Fedora and Debian shall have 100% bug free Malayalam rendering in GNOME.

The bug was basically an issue with the Pango package which caused the incorrect rendering. The technical details and discussion can be found here. The bug was reported by Praveen A, and the Swathanthra Malayalam Computing team members actively participated in providing test cases and testing. It was one of the most complicated bugs in Malayalam rendering and several people including Sayamindu, Suresh and Baiju M contributed patches. The submitted patches have several rounds of review and finally the patch submitted by Rahul Bhalero got accepted.

A special thanks to all the people who commented, tested and helped to resolve the bug.

Praveen A

Hiran V
Sayamindu Dasgupta
Ani Peter
Santhosh Thottingal
Rahul Bhalero
Behdad Esfahbod
Baiju M
Suruma
Cibu C J
Mahesh T Pai

This was an achievement of SMC, after the KDE Malayalam Translation campaign.

Even though, the bugs in GNOME are completely solved, there are still bugs reported OpenOffice.org and Qt. The complete status of Malayalam rendering issues are available here

P.S : SMC is organizing a release party at Thiruvananthapuram, Kerala on 9th and 10th August 2008 to celebrate the official inclusion of Malayalam in KDE-4.1. More details are here

Tuesday, 17 June 2008

Tired of searching for Malayalam Unicode fonts



Swathanthra Malayalam Computing(SMC) has come up with a list of beautiful Malayalam fonts licensed under GNU GPL (excluding AnjaliOldLipi which is in Public Domain). All the latest versions of Rachana, Meera, Dyuthi, RaghuMalayalam, Suruma and AnjaliOldLipi can be previewed and downloaded from this page.

http://fci.wikia.com/wiki/SMC/Fonts

All the fonts except RaghuMalayalam are traditional fonts. RaghuMalayalam font was designed for the Typewriter script. Meera font is being used by two popular Malayalam dailies, viz Mathrubhumi and Mangalam. Rachana font released by Richard Stallman, is the default font in UbuntuLinux and Debian GNU/Linux. Currently these fonts are maintained and packaged by SMC and available for popular distributions such as Debian and Fedora. Thanks to Santhosh for setting up the page.

P.S: In addition to the fonts, you can also read the beautiful nostalgic poem by O N V Kurup.

Monday, 28 April 2008

Ubuntu 8.04 - Review by a Malayalam User

I was very much excited when I saw the announcement about the new release of Ubuntu in the mailing list and curious to give it a try. The new release, according to http://www.ubuntu.com is a Long Term Supported(LTS) version for 5 years and has numerous features including virtualization. It took almost 7 hours to download and upgrade the latest Ubuntu 8.04, code named Hardy Heron, in my office desktop. I preferred network upgrade since I don't want to affect my office tasks during upgrade process. The download started on Friday(25th April) and then I have to suspend it for a while and completed on Saturday. (Even though Saturday was a holiday, I couldn't wait till Monday :) ).

The upgrade completed successfully, but the new Ubuntu booted up with the old kernel which was installed with 7.10. I have to modify the grub configuration file in Fedora 8 to include Ubuntu in the grub. So I copied the following lines to the /etc/grub.conf and it was done.

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=9c040612-4dbd-4dd8-9845-9a1050d7cbfe ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic

I did another reboot to pick the latest kernel with 8.04 and now I am ready with the login screen.

Cool desktop and Applications:
The artistic login screen and the desktop wallpapers are appealing and cool. The panel has a new icon named Search Tracker which allowed to search the desktop files and emails. It's a very user friendly and unlike other GNU/linux searching tools, it was very fast also. The new desktop came with the latest version of OpenOffice-2.4 and Mozilla FireFox-3 (beta 5). Even though , Firefox is still in beta, the new location bar search and unicode URLs are noticeable features. It seems that firefox is much faster than it's predecessors.

The desktop effects have been enabled by default and this gives more dynamic look for the desktop. In earlier versions, the desktop effects tend to consume more system resources, but 8.04 has improved a lot I didn't realised any performance issues. However, if you are upgrading from 7.10, then you probably need to delete all the preference files(files startiing with . (dot)) in your home directory and files related with your username in /tmp.

Disappointment for Malayalam users
I was very keen about the Malayalam support in the new release. Recently the Swathanthra Malayalam Computing(SMC) community have conducted aggressive campaigns for translating the interface and as a result more than 80% of the translation has been completed in GNOME. See the screenshot:


The new Ubuntu is not that much appealing to Malayalam desktop users. However experienced user can tweak the system so that it correctly renders the language. The only noticeable feature is the Firefox's ability to interpret the URLs in unicode. Earlier the unicode URLs seems to be a junk of characters and even techies can't interpret it correctly. I'm sure it's a wonderful feature for non-english users.

The Malayalam support in 8.04 is not installed by default and the first step is to install it from System --> Administration --> Language Support. Ubuntu will then automatically install the packages related to Malayalam including m17n, aspell and Malayalam fonts.

Unfortunately, the Malayalam rendering in 8.04 is very bad and when I opened the Malayalam wikipedia in Firefox most of the sections are unreadable. See the screenshot :
The rendering issues are mainly due to font issues and the Malayalam fonts developed by SMC, which is available for debian, resolved majority of the issues. I have to manually download the fonts from the debian repository and install them using the dpkg command.

# dpkg -i ttf-malayalam-fonts_0.5.2_all.deb

Here is the screenshot with Meera fonts maintained by SMC:

Now the rendering is perfect except this bug.

Since the rendering was OK, my next objective was to set up the Malayalam input in the desktop. Of course this is one of the failure with 8.04. The scim-m17n packages where not installed by default and I have to manually install them using the Synaptic Package Manager. I searched for "scim-m17n" and then applied it. SCIM was then configured using System-->Preferences-->SCIM Input Method The irritating stuff is that I have to start scim manually before typing anything in Malayalam. The following commands helped me to set up SCIM in startup:

sudo -i
touch /etc/X11/Xsession.d/74custom-scim_startup
chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
chmod 644 /etc/X11/Xsession.d/74custom-scim_startup

Reference : http://www.mrbass.org/linux/ubuntu/scim/

The scim setup was complete, but again there were problems when using ZWJ and ZWNJ. Both these characters were not properly identified and this caused problem with chillus when typing Malayalam. I was using the default inscript tables by scim, and it had some bugs. To correct this I have to install another package named m17n-contrib which also has a transliteration based input method. I searched for "m17n-contrib" in Synaptic Package Manager and applied it and then I have to relogin to effect the changes in scim. Thanks to Santhosh Thottingal who guided me to troubleshoot this issue.

The Dejavu and freefont packages installed in Ubuntu has included Malayalam glyphs but it seems that they have some bugs. This may prevent rendering Malayalam perfectly in OpenOffice Writer and rich text boxes in Firefox. Even though it's not recommended, finally, I have to remove them from the system.

The Padma extension, which is used to read Malayalam news papers in dynamic font, is not supported in Firefox 3beta5. This turned to be another disappointment as a Malayalam user. Now, I may have to search for the Padma patch developed by Sri. Anil Kumar K V, one of my favourite teachers :).

Even though the issues discussed above can be solved easily, these are real obstacles for an average Malayalee desktop user. I hope that the issues may be resolved soon and shortly we may have a complete GNU/Linux desktop.

Monday, 12 November 2007

Experimenting with Fedora 8

The Fedora Community released the latest version of Fedora on Thursday, 8th November 2007. The new Fedora 8 came with numerous enhancements and features and I was thrilled to start experimenting the new distro. Since I don't want to hinder my work at the office, I tried to upgrade my desktop using YUM. The upgrade instructions can be found here : YumUpgradeFaq

The upgrade process was smooth, except it took too much time, because of slow Internet connection. The process took place in one of the text console, and I was able to work on the desktop without any problem. The process took about 6 hours and then I rebooted the machine.
The desktop graphics looks very cool and nice. But there are couple of issues that I had to came across with the new desktop. Some of them are listed below:

1. Unable to set the Screen Resolution
But I was struck with the screen resolution in the newly upgraded machine. I tried to set the resolution to 1024x768, but each time I login, the screen resolution immediately changed to 800x600 after a while. I had a Intel Original Motherboard and /etc/sysconfig/hwconf said that the Graphical Controller is "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller".

I tried to upgrade the kernel and different options in /etc/X11/xorg.conf. But all the experiments failed. Finally, with the help of the guys from #fedora@freenode.net I tried to install 915resolution. After installing 915resolution using YUM, I have to reconfigure the display and now the screen resolution issue is solved. Thanks to the guys at #fedora.

Info: The Summary in the 915resolution rpm package says the reason:

Intel video BIOS hack to support certain resolutions.
915resolution is a tool to modify the video BIOS of the 800 and 900 series Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This modification is necessary to allow the display of certain graphics resolutions for an Xorg or XFree86 graphics server.


915resolution's modifications of the BIOS are transient. There is no risk of permanent modification of the BIOS. This also means that 915resolution must be run every time the computer boots inorder for it's changes to take effect.


915resolution is derived from the tool 855resolution. However, the code differs substantially. 915resolution's code base is much simpler. 915resolution also allows the modification of bits per pixel.


2. Too Small desktop Fonts in GNOME-2.20
Fedora 8 uses GNOME-2.20 and I was faced with unusual(small) size of the fonts in the desktop and Google fetched me to the fedoraforums.org. The small fonts issue can be resolved by setting the default font dpi to 96 (This value can be found at /etc/X11/Xresources, the Xft.dpi: 96). The exact reason why this happens in GNOME is still unknown to me. May be I have to dig the gnome bugzilla.

Apart from the font issue, the GNOME desktop looks extraordinary, one of the best experience ever had, since I started using it on 2001.

3. Reading and Typing Malayalam
I was very much disappointed when I accessed the Malayalam Wikipedia page in Firefox. In Fedora 7, there were some issues, but in Fedora 8 it was really worse. The default Malayalam font used in Fedora 8 was lohit-malayalam and I removed it and installed Rachana-g02, but it didn't helped. This was a known bug(#242016) in lohit-malayalam and pango in Fedora 7 and 8, and I have added some screenshots for a comparison of the issues.

With guidance from the Swathanthra Malayalam Computing(SMC) community I tried the Suruma patch. Since there was no Suruma patch for Pango-1.18, I tried patch4pango-1.16.4.

Installing Suruma was very easy, I need to just run the install script and the installation wizard guided me to complete the operation. Then I installed the Rachana-g02 fonts which render traditional Malayalam glyphs.

To install Rachana fonts, download the fonts from here
Copy the fonts files(*.ttf) to /usr/share/fonts/malayalam-sm/
Change to /usr/share/fonts/malayalam-sm and run the following commands

# cd /usr/share/fonts/malayalam-sm
# mkfontscale
# mkfontsdir
# chkfontpath -a /usr/share/fonts/malayalam-sm
# fc-cache

Open your Mozilla Firefox and access http://ml.wikipedia.org to check whether the fonts are correctly displayed.

In order to type Malayalam, you should first set the Input Method:
To chose the Input method go to System --> Preferences -->Personal --> Input Method.


Enable SCIM and now click the Input Method Preference :

In the Global Setup you can configure the trigger key, which is CTRL+SPACE by default. In the IMEngine menu, you have to chose which languages you need support. You can also chose transliteration or the inscript method. Apply all the changes and re-login to your desktop. If everything is OK, then you will be able to read and type Malayalam in your desktop.