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...

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...

The Kreate logo is done!

It's been several months now that we have been brainstorming about the logo and caption. We all were thinking on lines of both creativity and value offerings. Gautam was continuously thinking on lines of how to communicate imagination and implementation parts simultaneously, the left and right of the brain. Many tag-lines popped up, but always there was something missing. Finally, me and joy took up these two words from Gautam and simply put a dot between them. It sounded so crisp! 'Imagination.Implementation'! Meanwhile, many of us were trying to come up with the design ideas. For me, playing with various shapes of 'K' and using whatever minuscule knowledge of calligraphy/typography I had, became my regular pass-time to keep myself awake in gaseous classrooms. In later stages, I got stuck on the idea of creating a character out of K that can personify the values we worked on so long. Finally emerged the k-man that is so carefree, cheerful, and aesthetic. Joy took t...