Open gasyoun opened 3 years ago
<title>Cologne Digital Sanskrit Dictionaries Simple Search</title>
I agree a better title is needed.
However, the above proposed title is too long.
Suggest shorter
<title>Cologne Sanskrit Simple Search</title>
What do you think?
I could not see how to actually download clarendon fonts.
Also, this appears to be a click-bait for a commercial site. Not clear that Cologne web-site usage would be free.
Please comment if you still want to pursue Clarendon for italics.
What do you think?
Great.
Please comment if you still want to pursue Clarendon for italics.
No, Clarendon does not have good italics. But the original dictionaries have Clarendon for bolded words.
https://www.sanskrit-lexicon.uni-koeln.de/scans/LANScan/2020/web/webtc1/index.php
The uncovering of sandhi can be treated as in the book in our self-made web font, without using _
. Should we?
@funderburkjim Firefox italics is not working and has become unreadable for ā and ī, an elder student wrote today. Seems additional line of code is needed for Firefox for the italics to work.
Downloaded Firefox and confirm that the macrons are missing in Italic font. And that it is particular to Firefox (e.g., Edge browser displays the italic a-macron correctly).
Any suggestions regarding how to deal with browser specific Font display problem?
Have confirmed that the problem italic text is displayed with oldstandard_italic web font.
Also getting this warning in Firefox console:
Cookie “input” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Also, font display problems are occurring for other users in Firefox: https://support.mozilla.org/en-US/questions/1286512
The change 'Use oldstandarditalic font for italics in mw display.' was made at this csl-websanlexicon commit.
And similar changes made at this csl-apidev commit.
After much examination, I think the problem relates to size of display, not related to Firefox. Here is Chrome browser image, at normal magnification 100%) - the macrons almost invisible.
Here also is Chrome, at 150% magnification. Macrons clearly visible.
Same story with Firefox.
So the problem is not with Firefox, but with the display of macrons in oldstandarditalic.otf font.
I think the best thing to do is to drop the usage of oldstandaritalic.otf font.
@gasyoun Agree?
So the problem is not with Firefox, but with the display of macrons in oldstandarditalic.otf font.
To test this hypothesis let us go for https://software.sil.org/charis/
I think the best thing to do is to drop the usage of oldstandaritalic.otf font.
Firefox does not display italics as should, so anyway it is an additional issue and just dropping will not help.
Briefly examined charis. Looks complicated. What is the web font file name that you suggest?
Changed to use CharisSIL-I.woff instead of oldstandarditalic.otf.
Definitely clearer than before:
You may need to removed cached files, in addition to Ctrl-F5.
Definitely clearer than before
Yes, but italics is generated in some strange way.
And Firefox still goes bad.
https://stackoverflow.com/questions/6541885/firefox-webfonts-not-loading exploring what is missing for FF.
A user (Amram) indicated that some text in AP display is unexpectedly italic:
Obviously, changing fonts and styles is tricky, and my recent changes have had some unexpected side-effects.
For now, the damage does not appear severe to me; and I do not plan to make further changes now.
Obviously, changing fonts and styles is tricky, and my recent changes have had some unexpected side-effects
Understood.
@funderburkjim view-source:https://www.sanskrit-lexicon.uni-koeln.de/scans/awork/apidev/simple-search/v1.0/list-0.2s.html
(1)
<title>list-0.2s Cologne</title>
change to<title>Cologne Digital Sanskrit Dictionaries Simple Search</title>
(2) We've got
font-family: siddhanta_deva;
for Sanskrit fonts. Even the italics is no real italics, it's some screwed web font. MW uses widely Clarendon (like https://www.dafontfree.io/clarendon-font-free/) for headwords, so can we.