Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tamil rendering problem with Lohit-Tamil & Tamil-Classical #78

Open
Shreeshrii opened this issue Apr 13, 2016 · 18 comments
Open

Tamil rendering problem with Lohit-Tamil & Tamil-Classical #78

Shreeshrii opened this issue Apr 13, 2016 · 18 comments

Comments

@Shreeshrii
Copy link

Lohit Tamil font, Chrome browser on Windows 10

image

@Shreeshrii
Copy link
Author

Displays ok with e-Grantamil on Chrome on windows 10

image

@Shreeshrii Shreeshrii changed the title Tamil rendering problem with Lohit-Tamil Tamil rendering problem with Lohit-Tamil & Tamil-Classical Apr 13, 2016
@Shreeshrii
Copy link
Author

Different rendering issues with Lohit Tamil Classical

image

@Shreeshrii
Copy link
Author

here is the css used

 /* Tamil */
 @font-face {
 font-family: 'LohitTamilClassical';
 src:  url('http://sanskritdocuments.org/all_iscii/fonts/Lohit-Tamil-Classical.ttf') format('truetype'); 
 font-weight: normal;
 font-style: normal;
 }
  @font-face {
 font-family: 'LohitTamil';
 src:  url('http://sanskritdocuments.org/all_iscii/fonts/Lohit-Tamil.ttf') format('truetype'); 
 font-weight: normal;
 font-style: normal;
 }
  @font-face {
font-family: 'Tamil2016';
src:  url('http://sanskritdocuments.org/all_iscii/fonts/e-Grantamil.ttf') format('truetype'); 
font-weight: normal;
font-style: normal;
}
*[lang="ta"] {
/* font-family: 'LohitTamilClassical',serif !important;  */
/* font-family: 'LohitTamil',serif !important;  */
font-family: 'Tamil2016', serif !important; 
 line-height:1.6;
 font-size: 1.3em;
 font-weight:bold;
}

@pravins
Copy link
Owner

pravins commented Apr 24, 2017

As far as i see only issue in above text is missing some characters from Lohit Tamil fonts. I hope preparing Lohit Tamil vedic will help here.
Any other issue?
tamil-test

@Shreeshrii
Copy link
Author

Thanks for taking a look at this. I am testing under Windows10 using Chrome browser.

When using:

<style>
/* Tamil */
 @font-face {
 font-family: 'LohitTamilClassical';
 src:  url('http://sanskritdocuments.org/all_iscii/fonts/Lohit-Tamil-Classical.ttf') format('truetype'); 
 font-weight: normal;
 font-style: normal;
 }
  @font-face {
 font-family: 'LohitTamil';
 src:  url('http://sanskritdocuments.org/all_iscii/fonts/Lohit-Tamil.ttf') format('truetype'); 
 font-weight: normal;
 font-style: normal;
 }
  @font-face {
font-family: 'Tamil2016';
src:  url('http://sanskritdocuments.org/all_iscii/fonts/e-Grantamil.ttf') format('truetype'); 
font-weight: normal;
font-style: normal;
}
*[lang="ta"] {
 font-family: 'LohitTamil',serif !important; 
 line-height:1.6;
 font-size: 1.2em;
 font-weight:bold;
}
</style>

॥ நாராயணஸூக்தம் ॥ which is the heading is being displayed as shown in #78 (comment)

ie. ॥ நாரா seems to be below baseline and rest of the text யணஸூக்தம் ॥ is at baseline.

In the first line of text
தைத்திரீயாரண்யகம் - 4 ப்ரபாட²க: - 10 அனுவாக: 13

ர and ா are being displayed below baseline.

There are other issues too. However I will download latest version of Lohit fonts and check again, since it has been a while since I filed this report.

@Shreeshrii
Copy link
Author

Please test with the following text

॥ நாராயணஸூக்தம் ॥

தைத்திரீயாரண்யகம் - 4 ப்ரபாட²க: - 10 அனுவாக: 13

ௐ ஸ⁠ஹ நா⁠வவது। ஸ⁠ஹ நௌ⁠ பு⁴னக்து। ஸ⁠ஹ வீ⁠ர்யம்⁠ கரவாவஹை।
தே⁠ஜ⁠ஸ்வினா⁠வதீ⁴⁠தமஸ்து⁠ மா வி⁠த்³விஷா⁠வஹை⁠॥ ௐ ஶாந்தி:⁠ ஶாந்தி:⁠ ஶாந்தி:⁠ ॥

I am seeing rendering errors in the above in Notepad++ on windows10 too when using
Lohit Tamil. These baseline errors are not there in Lohit Tamil Classical.

The webpage http://sanskritdocuments.org/css/test-sukta.html?lang=ta uses e-Grantamil and renders ok.

@pravins
Copy link
Owner

pravins commented Apr 24, 2017

Can you try https://pravins.fedorapeople.org/test-tamil.html in Windows 10? Simply created html from Libreoffice by applying Lohit Tamil font.
It is working well for me both in Firefox and Chrome in Fedora 25.

@Shreeshrii
Copy link
Author

Shreeshrii commented Apr 25, 2017

Checked with both Chrome and Edge on windows10 - shows the problem.

win10-edge
win10-chrome

@Shreeshrii
Copy link
Author

Lohit Tamil font version under windows is 2.91.1

@pravins
Copy link
Owner

pravins commented Apr 25, 2017

There has been not any significant changes in font in recent version. Since you mentioned Tamil Classical works well, i need to check with Classical, if anything missing.

@Shreeshrii
Copy link
Author

In fact, I prefer using Tamil Classical (based on Tamil users feedback) but that also has no support for superscripts 2, 3, 4.

If you are making modifications for Vedic, please also get feedback from Shriramana Sharma.

@pravins
Copy link
Owner

pravins commented Apr 25, 2017

In that case, i will add superscript in Lohit Tamil Classical.

@Shreeshrii
Copy link
Author

Shreeshrii commented Apr 26, 2017

Thanks! That will be great. Please let me have a test version so that I can get user feedback and find out if there are any other issues.

@Shreeshrii
Copy link
Author

Any update on this?

@nsesha92
Copy link

Hi Pravin,

I do get the same error on Tamil 2.91.1 version. I am using Win 8, MS Office 2010 and Crome.

  1. Problem with ra, na, and vowel sign A. But appears properly on the web-crome.
  2. Problem of Anchor-0 Candra placement in kSha
  3. Shrii is missing.
  4. No errors with 2.5.3.
  5. Circle-errors are due to Font not having Vedic symbols. You rightly said, preparing Lohit Tamil vedic will help here. This need is felt by many.

As you recall, I had submitted a Lohit Tamil Vedic font request (based on Lohit Tamil 2.91.0) in Feb 2017, for which Sri Shriramana Sharma provided feedback:

  1. Provide attestation as to where PRENKHA U+1CD2 and CANDRA U+1CF4 are used.
  2. Submit a request to Unicode to allot any characters that is to be used with the Tamil script a ScriptExtension ("SE") of Taml (perhaps for the above 2 only ?).
  3. Arial glyphs should not be copied to Lohit font, use an OFL-compatible source font for borrowed glyphs.
  4. Make sure the newly added glyphs are stylistically acceptable to be in line with Lohit Tamil style.

https://bugzilla.redhat.com/show_bug.cgi?id=1427550

Due to my limitations -> not a S/w person, do not know Sanskrit, know ONLY Panchasuktam (in Tamil) from the vast Vedic Scriptures <- I could not take it forward. I can only do MS Word commands - Ctrl-C, Ctrl-V effectively.

I have restarted my project and looking for a FontForge expert to implement the changes suggested by Sri Shriramana Sharma. As I can see, Shreeshrii is a s/w person, if he is willing to contribute, please contact me - nsesha92@yahoo.co.in.

I don't know what the changes/enhancements are between 2.5.3, 2.91.0 and 2.91.1, but for the time being, you can suppress the 2.91.1 version.

Thanks.
Seshadri

lohit-tamil-2-5-3-ok
lohit-tamil-2-91-1 error

@nsesha92
Copy link

Hi Parveen,

Looks like this issue is still not resolved ?

@cyrilthank
Copy link

Hi
Sorry for 'hijacking' this discussion

but can you please share if Lohith-Tamil font prints the tamil letter for thu which is required for irunthathu (ie tamil word for was )

@cyrilthank
Copy link

requesting since i am getting the attached and not clear on what i am doing wrong

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants