Open Shreeshrii opened 8 years ago
Displays ok with e-Grantamil on Chrome on windows 10
Different rendering issues with Lohit Tamil Classical
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;
}
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?
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 https://github.com/pravins/lohit/issues/78#issue-147998214
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.
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.
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.
Checked with both Chrome and Edge on windows10 - shows the problem.
Lohit Tamil font version under windows is 2.91.1
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.
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.
In that case, i will add superscript in Lohit Tamil Classical.
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.
Any update on this?
Hi Pravin,
I do get the same error on Tamil 2.91.1 version. I am using Win 8, MS Office 2010 and Crome.
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:
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
Hi Parveen,
Looks like this issue is still not resolved ?
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 )
requesting since i am getting the attached and not clear on what i am doing wrong
Lohit Tamil font, Chrome browser on Windows 10