Skip to main content

Cursor size and Telugu

Assuming you are using a Gnu/Linux box with input methods(mostly scim) available to input many of the Indic scripts and have Lohit fonts installed. Open gedit and start typing anything. Now keep changing the keyboard layout to write something in each language say Marathi, Gujarati, Gurmukhi, Tamil and so on. Don't worry if you don't know the languages, just type garbage. You will notice that most of the scripts supported by Lohit fonts are more or less scaled to each other.

Now try typing Telugu. Still the size is scaled? Yes, they look matched in size. But did you notice the hight of that cursor? This is an issue with Telugu that even though the font on average looks scaled properly, the cursor size is not. And thus the spacing between two lines is also unexpectedly large. Of course you can reduce the size of the cursor by reducing font size, but it still remains out of proportion to the glyph sizes and thus giving ugly line spacing.


It appears that the cursor size is determined by Pango depending upon the highest and lowest glyph present in the font. So I played around with glyph sizes and cursor sizes. When I added an extra long (fake) glyph into a normal sized font, the resulting cursor size for such a font was proportional to this longest glyph. When removed this glyph, the cursor size returned to normal.

In case of Telugu, too many glyphs appear to go beyond a normal hight and depth. I don't know how often these glyphs are used and how important are they. Fixing the problem means truncating or scaling down these awful glyphs. But I am not sure which of them can be truncated or scaled down how much and so on. This will need a help of both the language expert and a calligrapher. Hope someone redesigns this font in a better way.

Comments

Popular posts from this blog

PVR is so wierd!

Yesterday we went second time to a mall bit far from office to complete the earlier failed mission of watching this 3D movie, Clash of the Titans. On ticket counter, we were first told that evening show was house full. Then we asked for a night show, and were told there isn't any show then and the gentleman handed us the pamphlet of all movie schedules. We checked on the nearby digital kiosk and also on the printed schedule to be sure of the show timings. Then went to second counter, and asked the lady for the night show tickets, and without any problem got the tickets for back seats. In fact this show was hardly 20% full, wonder how the evening show became houseful. But the biggest wonder/blunder is yet to come. On the entrance we were stopped for having a laptop bag along with (we had went straight after the office). In spite of having checked the bag, we were not allowed, because laptops were not allowed inside! Then we asked for keeping it at the baggage counter. But then, the...

What is so wrong with Bhagwad Geeta?

Here's a discussion I had with someone over Bhagwad Geeta on TOI forum (Stop reading now if you don't want to go to the end, it may mislead): mukunda (Bengaluru) replies to Siddharth 21 Jul, 2011 02:50 PM Ok,lets read ch 4 verse 13. catur-varnyam maya srstam guna-karma-vibhagasah tasya kartaram api mam viddhy akartaram avyayam "According to the three modes of material nature and the work associated with them, the four divisions of human society are created by Me. And although I am the creator of this system, you should know that I am yet the nondoer, being unchangeable." 1st line"catur-varnyam maya srstam" 4 varnas are created by Me(Paramatma),2nd line "guna-karma-vibhagasah" where the vabhajan\categorization is based on one's guna composition and karma composition. 3rd and 4th line states how He is the non doer and unchangable. Sri Krishna says that each living entity is categorized into one of the 4 varnas based ONLY on their pre...

Would you look through a window or go out and play in open?

Freedom of knowledge has always been worshiped across philosophies and religions all over the world. It has been applicable to the most fields of science and technology. This freedom has helped the growth of science, technology, and benefited the human world in every aspect. When Jonas Salk invented polio vaccine, he said "There is no patent. Could you patent the sun?" He did not try to hide its formula. When you buy a car, nobody stops you from opening its bonnet, fix a few problems, do a few modifications. That, is the freedom of knowledge, applied throughout the branches of science. But when it comes to software, abruptly, everyone starts hiding the source code, the formula behind it. You would be even denied from making similar kind of products, by means of patents. Some of the readers might have already guessed where I am taking this topic to. [Those who know enough about foss, may skip the following paragraph.] When you buy a software, it is most likely that you would...