pravins / lohit

Lohit fonts family project to supporting Indian scripts.
Other
39 stars 11 forks source link

Kannada: bug in .conf prevents invocation of the font #50

Closed pnrao closed 9 years ago

pnrao commented 10 years ago

I have only one set of fonts enabled for Indic scripts, and that's the Lohit set. I noticed that Lohit fonts for Kannada are not getting invoked in KDE apps such as Konqueror, Kate, etc. In such cases, these apps defaulted to displaying the Unicode replacement character. However, the apps displayed other Indian languages properly. On digging into the issue, I noticed that 66-lohit-kannada.conf identifies the language differently from how the .conf files of other languages like Gujarati, Telugu, etc. do.

Gujarati has:

    <test name="lang" compare="contains">
      <string>gu</string>

Whereas, Kannada has:

   <test name="lang">
      <string>kn-in</string>

The problem got fixed when I changed it to:

    <test name="lang" compare="contains">
      <string>kn</string>

Can you please make this change in your files too?

pravins commented 9 years ago

i have done changes in git. thank you for pointing to it. will be available with next releases of respective script fonts.